Question: how to find azure guid?
Answer: Log into the Azure AD Portal (manage.windowsazure.com)
Find or create a custom application that is integrated with your Azure AD tenant. ... 
Press the View Endpoints button at the bottom of the screen.
In the dialogue that pops up, your GUID is the long sting directly behind login.microsoftonline.com: