Reputation: 189
I am currently playing with Microsoft Graph Api for groups. When I access the group conversations(https://graph.microsoft.com/v1.0/groups/3b41ffb2-4fec-4ca6-97f8-40c70eb75df3/conversations) through API Explorer(https://graphexplorer2.azurewebsites.net), it works fine. But if I access the same through Postman I receive the below error.
{
"error": {
"code": "ErrorInternalServerError",
"message": "The SMTP address has no mailbox associated with it.",
"innerError": {
"request-id": "20289ba7-0782-4d0e-9ea9-64e4567bfca6",
"date": "2016-01-13T13:05:21"
}
}
}
But in Postman below APIs are working fine.
https://graph.microsoft.com/v1.0/groups/3b41ffb2-4fec-4ca6-97f8-40c70eb75df3
https://graph.microsoft.com/v1.0/groups
In the Azure AD application created for testing purpose, I have also enabled all the permissions for Graph API and Azure AD rights. I am unable to proceed further.
Upvotes: 1
Views: 348
Reputation: 1694
Group conversation access is not supported in app-only authorization flow.
We are working on returning a better error for this case.
Upvotes: 1
Reputation: 14649
You can track the HTTP request via the fiddler to see the difference between Microsoft Graph and Postman. We can also get the access token via track the HTTP request and construct the request with Fiddler. Hope it is helpful.
Upvotes: 0