0
votes

I am using Office365 unified APIs preview to deal with Office 365 Groups, getting user groups endpoints works fine and returns user groups.

When I call create group endpoint, it retruns 201.created but the group doesn't exist in the office portal nor the get groups API call.

Here is the endpoint URL: https://graph.microsoft.com/beta/{MY_TENANT_NAME}/groups

1
It can take sometimes a few minutes for the group to propagate. Are you still not seeing it? Can you share the request payload you used, we will try and repro the issue.Rohit Nagarmal - MSFT
thank you @RohitNagarmal-MSFT based on suggestion from office365 internal team, I had to add extra "unnecessary" directory permission... confirmed as office365 APIs bug.alaasdk

1 Answers

1
votes

I finally landed to a working solution.

if you are trying to create a group, you will need to also add another directory permission (unfortunately will need admin consent):

Read and write directory data

these are very weird behaviors from Office365 unified APIs, but we should excuse the APIs as you can see "beta" inside the endpoint URL.