An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hi, any solution to this problem? Also getting this problem.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource 'xxxxxxxx-xxxx-xxxxxxx-000000000000' hosted on database 'xxxxxxx-xxxxxxxx-xxxx-xxxxxxxx' is currently on backend 'Unknown']
What to do?
Request data:
var sub = new Subscription
{
ChangeType = "created",
NotificationUrl = "https://dummy.com/api/graph",
Resource = $"/users/1234/messages",
ExpirationDateTime = DateTime.UtcNow.AddMinutes(10),
ClientState = "*******"
};
return await graphClient
.Subscriptions
.Request()
.AddAsync(sub);
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Hi, any solution to this problem? Also getting this problem.
also getting the same error if anyone has resolved this please comment with the answer
@ShivamDhiman-1582 I have the same issue, and have tested not to include the clientState, and I still get the same error message.
One of our Customer had a similar issue "Status Code: ServiceUnavailable" while creating subscription.
This issue has been resolved after removing the "clientState" property from request body. Please do verify the same at your end.
Hope this helps,
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".