Hei @Kamble Jeet PUN FIIA2 , Thank you for contacting Microsoft Q&A I tried the the tutorial you mentioned and steps pan out correctly. Please give it another try on Azure and make sure that you do not get any errors from the steps before. Also make sure that prerequisites are met before you start. Mark this as answer if it helped Tutorial: https://learn.microsoft.com/en-us/azure/automation/learn/powershell-runbook-managed-identity
How to fix this issue
Kamble Jeet PUN FIIA2
0
Reputation points
Unable to acquire token for tenant 'organizations' with error 'ManagedIdentityCredential authentication failed: Internal Server Error!
Status: 500 (Internal Server Error)
Script:
Param(
[string]$resourceGroup,
[string]$method,
[string]$UAMI
)