Update Group throws error when updating hideFromOutlookClients and hideFromAddressLists properties

Maksym Hryshakov 0 Reputation points
2025-01-23T14:20:47.96+00:00

After January 15 request to update groups properties hideFromAddressLists or hideFromOutlookClients ends up with error response: ErrorInternalServerError Message: An internal server error occurred. The operation failed., The value is set to empty Parameter name: tenantId. Tried for v1.0 and beta endpoints

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,854 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akhil Nasalwai - MSFT 165 Reputation points Microsoft Vendor
    2025-01-23T15:51:15.35+00:00

    Hello Maksym Hryshakov,

    Thank you for reaching out to Microsoft!

    Apologies for the inconvenience caused. Regarding the error "ErrorInternalServerError Message: An internal server error occurred. The operation failed., The value is set to empty Parameter name: tenantId", we tried replicating the issue and below are the results for the same. Make sure you are updating only the mentioned properties (hideFromOutlookClients and hideFromAddressLists) while working with PATCH requests by excluding other properties as mentioned in the official documentation.

    User's image

    Screenshot of Replication: patch group props test

    Make sure the content-type header is set to application/json in your API request.

    Test the API in Graph Explorer once and let us know if the issue still persists.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.