Easily obtain AccessToken (Bearer) from an existing AzureRM PowerShell session

You'll find in this function an easy way to extract the information required for you to build a Bearer token and all this from YOUR credentials within an authenticated PowerShell Azure session. You can then use this token to talk to Azure Resource Manager REST API.

profile.ps1
 
 
 
 
 
4.7 Star
(7)
4,368 times
Add to favorites
Windows Azure
3/14/2019
E-mail Twitter del.icio.us Digg Facebook