3,061 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
54
views
Set-SqlColumnEncryption fails when dropping unrelated scalar function
Set-SqlColumnEncryption keeps failing, it's trying to drop a scalar function that is completely unrelated to the table columns being encrypted, thus failing.
$smoDatabase = Get-SqlDatabase -...
3
votes
2
answers
115
views
In Powershell, error when calling Azure Log Analytics query containing 'extend'
With the below KQL query, I'm extracting accesses to Azure Key Vault secrets and keys in log analytics, by extracting name of the Key Vault resource (kv) and its accessed keys and secrets (sec) from '...
0
votes
1
answer
40
views
WebJob deployment failing "The term 'Publish-AzWebJob' is not recognized as the name of a cmdlet, function, script file, or operable program"
I have app service which hold > 10 web jobs. So far using
Invoke-RestMethod -Uri $kuduApiUrl -Headers $zipHeaders -Method PUT -InFile $zipPackageFile
Apparently it is deprecated. So now we tried:
...
0
votes
1
answer
68
views
Unable to fetch private endpoint's customer visible fqdn using the powershell script
I have the resoruces in the resource group with the virtual network integrated, public network access disabled and having private endpoints connectivity.
I'm trying to fetch the customer visible DNS (...
0
votes
1
answer
291
views
How to check Microsoft API version for Powershell related codes?
My organisation got an email from Microsoft recently:
Azure SQL Database 2014年04月01日 APIs will be retired on 31 October 2025
You’re receiving this email because you use Azure SQL Database APIs.
To ...
0
votes
1
answer
155
views
Azure ApplicationAccessPolicy not blocking access for certain users in Microsoft Graph API (application permission)
I am using an ApplicationAccessPolicy in Exchange Online to restrict an Azure AD application’s access to only one specific mailbox (my personal account).
The goal is for the application to only access ...
0
votes
0
answers
98
views
Azure DevOps: $(MyTask.Succeeded) returns false even when task is skipped — how to reliably detect task status?
I’m using Azure DevOps pipelines and trying to determine if certain steps like Docker push, Helm push, or GitHub tagging were successful. I'm using the .Succeeded property of previous tasks to ...
1
vote
2
answers
395
views
Has there been a recent change to Invoke-Sqlcmd that break it, and if so what's the fix?
I have a script that runs in an Azure DevOps pipeline that was working up until this morning (18/6/2025).
I previous had to upgrade a MS Graph Access token breaking change here
The Azure DevOps ...
0
votes
2
answers
67
views
Bug with Azure Powershell command New-AzActivityLogAlert
I have the following code
# Variables
$task3storageAccountName = "testRG"
$actionGroupName = "Storage Admins"
$actionGroupShortName = "SA Admins"
$notificationName = &...
1
vote
1
answer
119
views
How can I more simply update an AzActivityLogAlert ActionGroup?
I'm using a PaaS system that comes preconfigured on Azure with a large number of alerts. I want to update these alerts with an Azure Az Powershell v14 script by adding an Action Group to them, to get ...
-1
votes
1
answer
134
views
Azure container instance : why can't I create an ACI using PowerShell?
I would like to create ACI using the following command in PowerShell:
New-AzContainerGroup -ResourceGroupName acr -Name benighilmohamed `
-Image alpine -OsType Linux `
-Command "echo 'Hello ...
3
votes
1
answer
5k
views
Azure Devops Service Connection Access blocked to AAD Graph API for this application
I am creating an app registration and adding app roles to the app registration via AzurePowershell task via Azure Devops YAML file.
This worked for months and the last time I did a successfull ...
1
vote
1
answer
92
views
Bad Request on using New-AzSqlSyncMember powershell command
I am trying to set up a Sql Sync Member to a database in another tenant using the New-AzSqlSyncMember however whenever i run it get the error message
New-AzSqlSyncMember: Long running operation ...
0
votes
1
answer
548
views
Using update-mguser to add / update user's authentication email methods in powershell unattended script
I am attempting to use update-mguser in an unattended powershell script. I can't use New-MgUserAuthenticationEmail or update-MgUserAuthenticationEmail because they don't support application ...
1
vote
1
answer
130
views
Azure PowerShell script Add-Type "Kusto.Data.dll" give load exception for System.Runtime.dll
I have to load types defined in kusto.data.dll for making Kusto query to get data from Azure Data Explorer cluster.
When I use Add-Type -LiteralPath $packagesRoot, it fails with Unable to load one or ...