How do I call the Azure REST API from an interactive PowerShell session I want to be able to call Azure REST API methods from an interactive PowerShell session There are instructions on how to do this with a Service Principal here but I want to be able to call these methods using my own credentials rather than switching to a different set
Using the Windows Azure REST APIs with PowerShell Summary: Microsoft support escalation engineer, James Kehr, talks about using the Windows Azure REST APIs with Windows PowerShell Microsoft Scripting Guy, Ed Wilson, is here
Capturing Powershell and AZ CLI REST API calls PowerShell and the AZ CLI are two command-line tools that allow you to interact with Azure resources and services They are both cross-platform, meaning they can run on Windows, macOS, and Linux, which makes them really convenient and broadly used by the Azure community out there
How to send an Azure REST API request | Microsoft Community Hub Sometimes, user will need to send out REST API request to manage their resources in Azure platform, for example, when the REST API is upgraded but corresponding PowerShell module or User Interface are not upgraded yet In this blog, it will contain three main parts:
Invoke Azure REST API with PowerShell | azure-notes Sometimes an Azure REST API may not have corresponding PowerShell CmdLet Instead, we can get the AAD token and directly invoke Azure REST API in PowerShell This below PowerShell script uses Service Principal to acquire token For other ways to acquire token, see Invoke Azure REST API with curl