MSCloudLoginAssistant icon indicating copy to clipboard operation
MSCloudLoginAssistant copied to clipboard

Cannot connect to Graph API with Managed Identity

Open george1860 opened this issue 3 months ago • 0 comments

When I try to connect to Graph API with Managed Identity I get a timeout error, that there is no response from the IP-Address 69.254.169.254. Digging further, I found a If/Else Condition in the MicrosoftGraph.psm1 file in line 47: There is a check if the $env:AZUREPS_HOST_ENVIRONMENT variable is equal to "AzureAutomation/". When I check the variable in my Runbook, the variable is set to "AzureAutomation", without the slash at the end. When I change the variable to "AzureAutomation/", everything is working fine.

george1860 avatar Apr 09 '24 07:04 george1860