You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/automation/manage-runas-account.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ The script uses multiple Azure Resource Manager cmdlets to create resources. For
125
125
126
126
Save the script on your computer using the filename **New-RunAsAccount.ps1**.
127
127
128
-
```powershell
128
+
```powershell
129
129
#Requires -RunAsAdministrator
130
130
Param (
131
131
[Parameter(Mandatory = $true)]
@@ -302,7 +302,7 @@ Save the script on your computer using the filename **New-RunAsAccount.ps1**.
302
302
303
303
Write-Host -ForegroundColor red $UploadMessage
304
304
}
305
-
```
305
+
```
306
306
307
307
>[!NOTE]
308
308
>**Add-AzAccount** and **Add-AzureRMAccount** are aliases for [Connect-AzAccount](https://docs.microsoft.com/powershell/module/az.accounts/connect-azaccount?view=azps-3.5.0). You can use these cmdlets or you can [update your modules](automation-update-azure-modules.md) in your Automation account to the latest versions. You might need to update your modules even if you have just created a new Automation account.
@@ -318,29 +318,29 @@ After the script has executed, you will be prompted to authenticate with Azure.
318
318
319
319
#### Create a Run As account by using a self-signed certificate
If you have created a Classic Run As account with an enterprise public certificate (.cer file), use this certificate. Follow the instructions for [uploading a management API certificate to the Azure portal](../azure-api-management-certs.md).
337
+
If you have created a Classic Run As account with an enterprise public certificate (.cer file), use this certificate. Follow the instructions for [uploading a management API certificate to the Azure portal](../azure-api-management-certs.md).
338
338
339
339
#### Create a Run As account and a Classic Run As account by using a self-signed certificate in the Azure Government cloud
If you have created a Classic Run As account with a self-signed public certificate (.cer file), the script creates and saves it to the temporary files folder on your computer. It can be found in the user profile **%USERPROFILE%\AppData\Local\Temp**, which you used to execute the PowerShell session.
0 commit comments