@Craigo
Thank you for your question! Adding to Michev's response, you can create an App or Service principle by following the below steps, using MS Graph Explorer.
1.Create your AzureAD application
POST https://graph.microsoft.com/v1.0/applications
Content-type: application/json
Content-length: 67
{
"displayName": "Display name"
}
2.Copy the App ID from the Graph API output, or by navigating to the App within the Azure Portal.
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#applications/$entity",
"id": "33179750-.....",
"deletedDateTime": null,
"appId": "0195075e-b436...", <<Copy this appId>>
"applicationTemplateId": null,
"createdDateTime": "2021-02-08T21:34:02.3306981Z",
3.Create your Service Principle
POST https://graph.microsoft.com/v1.0/servicePrincipals
Content-type: application/json
{
"appId": "65415bb1-9267-4313-bbf5-ae259732ee12"
}
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.