All Questions
Tagged with powershell azure
6,343 questions
0
votes
0
answers
61
views
Deleting and removing PIM role assignment in Azure - error No HTTP resource was found that matches the request URI
I have noticed during my testing that when an Entra group is created and configured for PIM, if the group is later deleted but yet configured for PIM, the PIM configuration stays thereby creating an ...
1
vote
2
answers
68
views
How to delete pipeline tags with special characters?
I want to delete specific tags attached to Azure pipeline builds, for example "hello: world". I've come to the conclusion that the ADO REST API endpoint for handling Tag deletions cannot ...
0
votes
1
answer
65
views
Fetch last sync details from Azure on premise
I need to fetch the last sync data from azure on premise. the data will be under
Microsoft Entra connect > Connect Sync > Provision from active directory > Microsoft entra connect sync > ...
0
votes
2
answers
81
views
Azure Environment Approvals with Azure Devops RestAPI
I'm trying to automate the creation of Azure DevOps environments using a pipeline and a PowerShell script. While I can create the environments successfully, I'm having trouble adding approval gates to ...
0
votes
1
answer
91
views
Azure Yaml pipeline cancelTimeoutInMinutes not working
click Here ScreenShot for reference
I manually triggered this pipeline, and after 1 minute, I cancelled it via the UI. However, the pipeline continued running even after 1 minute. The ...
2
votes
1
answer
40
views
Microsoft Graph PowerShell cmdlet not returning @odata.deltaLink or @odata.nextLink in delta query
I'm working with Microsoft Graph delta query for users to track changes in user objects.
When I use the HTTP request directly (e.g., via Postman or Invoke-RestMethod), I get the expected response ...
0
votes
1
answer
32
views
Running multiple Packer Powershell provisioners with the same credentials in Azure
My Packer template has several powershell provisioners that rely on scripts from an Azure Files network share. The share is mapped to the VM using the following sequence
"$securePass = ...
2
votes
1
answer
63
views
How to edit Excel Online file by Powershell using Microsoft Graph API?
I have registered app in Azure and I have it's clientId and clientSecret for authentication.
I want to be able by Powershell to write into Excel online file cell. The App registration should have ...
0
votes
1
answer
49
views
Convert standard Azure SQL database to serverless tier with proper vcores
I have an Azure SQL database DataBase1 currently configured under the Standard S9 tier (1600 DTUs). I'm attempting to convert this database to a serverless tier using the following PowerShell script:
...
0
votes
1
answer
76
views
Set-EntraUser -ShowInAddressList: A parameter cannot be found that matches parameter name 'ShowInAddressList'
Microsoft have told us to move from the AzureAD Powershell module to Microsoft.Entra and/or Microsoft.Graph.
I've used the Set-AzureADUser cmdlet previously to hide certain user objects from most ...
0
votes
1
answer
56
views
How to create Azure Function and deploy content as zip deploy
I have made az cli scripts for creating function app, deploying content via zip deploy and setting app settings/environment variables.
After running script the only file in wwwroot is 'FAILED TO ...
1
vote
1
answer
43
views
Get-MgPrivilegedAccessResource is not recognized require an alternative to Get-AzureADMSPrivilegedResource
I have got the snippet of code below which I am trying to replace for various reasons.
$SubscriptionPIMID = (Get-AzureADMSPrivilegedResource -ProviderId 'AzureResources' -Filter "ExternalId eq '/...
0
votes
1
answer
26
views
Orchestrating Multi-Pipeline Workflows in Azure DevOps with Live Status Monitoring
Proof of Concept (PoC) Objective
I am building a centralized orchestration mechanism using Azure DevOps pipelines. The solution involves four pipelines:
Trigger Pipeline
Pipeline A
Pipeline B
...
0
votes
0
answers
58
views
Powershell script for Azure PIM automation and resolving issues
I'm writing automation that will perform the following.
Create an Entra group which allows entra roles to be assigned.
Enable the group for PIM and assign it to a entra tenant role i.e
Attribute ...
0
votes
1
answer
54
views
Powershell to insert data from CSV to ADX cluster
is there option to insert data into Azure Data explorer using poweshell? i followed doc1 and doc2 to read data from ADX. Now looking for option to write data from CSV file into ADX cluster.