Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Authentication to Azure RESTful API with username and password through PowerShell

$
0
0

I'm able to connect to the REST API endpoints documented at the below link, and successfully retrieve data after supplying my credentials interactively through a web browser.  What are the options to authenticate using PowerShell Invoke-RestMethod?  Ideally I'd like to use my username and password (if prompted for the credentials that's fine for now).  I'm not an "admin" level user at the moment so I don't believe I will be able to generate any tokens or API keys if those are options.

https://docs.microsoft.com/en-us/rest/api/azure/


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>