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.

4.7 Star
4,375 times
Add to favorites
Windows Azure
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question

  • Very Cool
    2 Posts | Last post February 09, 2019
    • Very cool, and usefull was looking for something like this.
      also nice that it is prepared/works with the az cmdlets as well.
    • Very glad you find it useful