The resource is https://graph.microsoft.com if it is for validation
If you are using Azure REST API for resource information from Azure,
The structure of resource id is : "/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/<resource-type>/<resource-name>"
For example,
/subscriptions/d3719f3d-a00d-6854-b9fd-adf87cb25c85/resourceGroups/testrg/providers/Microsoft.Web/sites/mywebapp
or you can also find it in the URL of the Azure portal.
Step 1: Go to the resource in the Azure portal
Step 2: Copy the URL from the address bar of the portal which will be as below :
https://portal.azure.com/#@khalidhaihotmail.onmicrosoft.com/resource/subscriptions/d3719f3d-a00d-6854-b9fd-adf87cb25c85/resourceGroups/testrg/providers/Microsoft.Web/sites/mywebapp/appServices
Step 3: Remove the first part of URL till /resource which will become :
/subscriptions/d3719f3d-a00d-6854-b9fd-adf87cb25c85/resourceGroups/testrg/providers/Microsoft.Web/sites/mywebapp/appServices
Step 4: Remove the last part of URL till name of the resource which will become :
/subscriptions/d3719f3d-a00d-6854-b9fd-adf87cb25c85/resourceGroups/testrg/providers/Microsoft.Web/sites/mywebapp