microsoft / MSCloudLoginAssistant

PowerShell Module Handling Authentication to Cloud Services
https://www.powershellgallery.com/packages/MSCloudLoginAssistant/
MIT License
72 stars 47 forks source link

Managed Identity fix for Azure Runbooks #150

Closed andikrueger closed 1 year ago

andikrueger commented 1 year ago

At the moment, managed identities are only support for Azure VMs. Within Runbooks there are issues with the used EndPoint to get the authentication token. This PR introduces a change that will enable runbooks to get the correct endpoint url.


This change is Reviewable

andikrueger commented 1 year ago

@mlhickey could you test these changes in your environment?

mlhickey commented 1 year ago

@andikrueger - probably, but it'd be at least a week out given current commitments

andikrueger commented 1 year ago

Thanks for the response. I’ll spin up an virtual machine and verify the solution.

andikrueger commented 1 year ago

I was able to confirm functionality in AzureVMs.

ykuijs commented 1 year ago

@NikCharlebois, can you please review, merge and release a new version?