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/