According to the MS documentation, partner topics are supposed to be automatically created when you create a partner configuration. I did that for graph and nothing appears in partner topics. I also can't create a graph partner topic. Not sure what the issue is. When I click create button for graph API, I don't have the ability to save it. The two buttons I see are event grid documentation and view pending partner topics. What is going on?
The Partner Topic for Microsoft Graph API is created automatically once you create a subscription.
The steps should be:
POST https://graph.microsoft.com/v1.0/subscriptions
{
"changeType": "Updated,Deleted,Created",
"notificationUrl": "EventGrid:?azuresubscriptionid=<azure-subscription-id>&resourcegroup=<resource_group_name>&partnertopic=yourPartnerTopic&location=germanywestcentral",
"lifecycleNotificationUrl": "EventGrid:?azuresubscriptionid=<azure-subscription-id>&resourcegroup=<resource_group_name>&partnertopic=yourPartnerTopic&location=germanywestcentral",
"resource": "users",
"expirationDateTime": "2024-10-12T00:00:00Z",
"clientState": "secretClientValue"
}
Activate Partner Topic
Once the Partner Topic is active, you can create an event subscription