The purpose of this quick little blog is give a brief overview on how you can utilize the wonderful REST API commands available for the WVD Spring 2020 release.
So firstly, it is important that we know where to get hold of the information for the new REST APIs. Microsoft have now released this information and it can be found via the below link.
What is great is that the new Spring 2020 release (being ARM) can all be accessed via the https://management.azure.com endpoint.
In order to access the REST API and get back some details, we need to first establish the Authentication flow and obtain the required Auth Token.
You will now be presented details of your new App registration. Take a note of the Application (client) ID as this will be needed to connect later.
Firstly, we need to get the required details into variables so we can obtain a Authentication Token from https://login.microsoftonline.com