Sign in to your Microsoft account by typing login.microsoftonline.com into your browser to authenticate and generate an access token you can use to create the webhook.
Configure network egress policies for both login.microsoftonline.com and graph.microsoft.com to allow outbound connections from Foundry.
Include login.microsoftonline.com and graph.microsoft.com as the source's Domains without any Authentication restraints.
Set any necessary Additional secrets, such as the TenantId, ClientId and ClientSecret that you will use to authenticate against login.microsoftonline.com. You will find these after you register an application in Microsoft Entra ↗.
Add the network egress policies you created above in the Network connectivity section before choosing Save and continue.
After you configure your REST API source, you will next configure your webhook to make two POST requests that:
Login using the login.microsoftonline.com credentials created on the source to get a short-lived access token.
Make an API call to graph.microsoft.com using the access token in the response from the first call as the bearer token in the call's authentication header.