Skip to content

Commit 0a12584

Browse files
authored
Update disable-local-authentication.md
1 parent d0543a9 commit 0a12584

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/automation/disable-local-authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ Disabling local authentication doesn't take effect immediately. Allow a few minu
2828
> - Currently, PowerShell support for the new API version (2021-06-22) or the flag – `DisableLocalAuth` is not available. However, you can use the Rest-API with this API version to update the flag. Here is how to do it with the [`Invoke-AzRestMethod`](https://learn.microsoft.com/powershell/azure/manage-azure-resources-invoke-azrestmethod) cmdlet.
2929
3030
```azurepowershell-interactive
31-
$SubscriptionId = "9e223dbe-3399-4e19-88eb-0975f02ac87f"
32-
$ResourceGroupName = "yemingtemp"
33-
$AutomationAccountName = "yemingaa0924"
31+
$SubscriptionId = "your-subscription-id"
32+
$ResourceGroupName = "your-resource-group-name"
33+
$AutomationAccountName = "your-automation-account-name"
3434
$RequestUri = "https://management.azure.com/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroupName/providers/Microsoft.Automation/automationAccounts/$($AutomationAccountName)?api-version=2023-11-01"
3535
$Payload = @{
3636
properties = @{

0 commit comments

Comments
 (0)