0
votes

Graph API - Microsoft Groups - Unable to enable these two properties during group creation or update/patch.

  1. allowExternalSenders
  2. autoSubscribeNewMembers

Error during creation:

System.AggregateException: One or more errors occurred. --- Microsoft.Graph.ServiceException: Code: BadRequest Message: The following properties cannot be set in the initial POST request. Please set them in a subsequent PATCH request: allow external senders

Error during Update:

BadRequest Message: The request is currently not supported on the targeted entity set Inner error:

Properties Link: https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties

Under known Issues:

https://docs.microsoft.com/en-us/graph/known-issues#groups this is saying that is true for allowExternalSenders if this is true for both allowExternalSenders and autoSubscribeNewMembers then how do we enable these two flags for hundreds of groups programmatically. This is hard to believe how Microsoft can have this type of bug or limitation.

Error Info: System.AggregateException: One or more errors occurred. ---> Microsoft.Graph.ServiceException: Code: BadRequest Message: The request is currently not supported on the targeted entity set Inner error

  • AdditionalData: date: 2020-10-30T17:31:55
  • request-id: 04926aeb-8caf-491a-b182-a5b22901df47
  • client-request-id: 04926aeb-8caf-491a-b182-a5b22901df47
  • ClientRequestId:04926aeb-8caf-491a-b182-a5b22901df47
1
Can you repro the issue consistently? If yes, share the detailed request (Graph API call) that you made and response (Requestid, timestamp, errorinfo) that you got - Dev
@Dev System.AggregateException: One or more errors occurred. ---> Microsoft.Graph.ServiceException: Code: BadRequest Message: The request is currently not supported on the targeted entity set Inner error: AdditionalData: date: 2020-10-30T17:31:55 request-id: 04926aeb-8caf-491a-b182-a5b22901df47 client-request-id: 04926aeb-8caf-491a-b182-a5b22901df47 ClientRequestId: 04926aeb-8caf-491a-b182-a5b22901df47 - SNew
Microsoft Graph team documented this as known issue or limitation. So this won't work for you. That's the reason you noticed that the request is not supported, hence throwing bad request. If you wish Microsoft to consider implementing this as new feature, then file at the Microsoft User voice. Here's the closest one that i can able to find out - microsoftgraph.uservoice.com/forums/…. Go ahead, upvote it or file a new one. - Dev

1 Answers

1
votes

Microsoft Graph team documented this as known issue or limitation. So this won't work for you. That's the reason you noticed that the request is not supported, hence throwing bad request. If you wish Microsoft to consider implementing this as new feature, then file at the Microsoft User voice. Here's the closest one that i can able to find out. Go ahead, upvote it or file a new one!!