Introduction Azure Stack Operator needs to collect the log of App Service Resource Provider in trouble. But Admin Portal doesn’t provide this capability. So Azure Stack Operator needs to log in the controller VMs such as CN01-VM.
I don’t use RDP to collect these logs and want to manage the general operation with only the Admin portal and Admin API. To realize my dream, I searched the REST API of App Service Resource Provider.
Microsoft released on-demand diagnostic log collection in 1907 update. So we can collect Get-AzureStackLog in the admin portal. This feature is so useful because we don’t need to use PEP to collect Get-AzureStackLog.
On-demand diagnostic log collection
When we use on-demand diagnostic log collection, the admin portal accesses to Rest API. We can also use this API. This blog explans the following operations.
Run on-demand diagnostic log collection Check the history of on-demand diagnostic log collection Run on-demand diagnostic log collection The url to run on-demand diagnostic log collection is as follows.