Select group membershipRuleProcessingStatus fails

Ivanti Alex B 21 Reputation points

Using to run Graph Queries

GET returns a list of groups successfully
GET{ID} returns one group successfully

The group is of type Dynamic Device

"groupTypes": [  

As per docs, to get the membershipRuleProcessingStatus it has to be explicitly selected:

Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). Read-only.

GET{ID}?$select=membershipRuleProcessingStatus fails
Response code = Unauthorized - 401

    "error": {  
        "code": "Unauthorized",  
        "message": "Permission denied.",  
        "innerError": {  
            "date": "2022-04-20T21:59:19",  
            "request-id": "b68686f3-ff39-4f33-b232-ce8fc35e1845",  
            "client-request-id": "c1fce12f-137b-e7b1-a8ac-4323fdd08667"  

Response Headers

    "cache-control": "no-cache",  
    "client-request-id": "c1fce12f-137b-e7b1-a8ac-4323fdd08667",  
    "content-type": "application/json",  
    "request-id": "b68686f3-ff39-4f33-b232-ce8fc35e1845"  

The property is not documented for /v1.0

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

Accepted answer
  1. CarlZhao-MSFT 39,736 Reputation points

    Hi @Ivanti Alex B

    I tested fine locally and it is working for me, make sure you have the necessary permissions.


    By the way, the API under /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful