Where can I find the Intune Dashboard Status on the MS Graph API?

Bauer Esim EXTERN 1 Reputation point
2022-11-08T15:38:48.323+00:00

I want to retrieve the "Status" of the Intune environment from the Microsoft Endpoint Manager Admin Center (MEM Admin Center) via the Graph API:

258362-image.png

258382-image.png

Is this possible and if so, where can I find the corresponding pages with the requests/fields on the MS Graph API?
Thank you.

Best Regards

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,378 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,718 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Khaled Elsayed Mohamed 1,260 Reputation points
    2023-05-28T09:39:14.3533333+00:00

    Hi Bauer Esim EXTERN

    To retrieve the "Status" of your Intune environment from the Microsoft Endpoint Manager Admin Center (MEM Admin Center) using the Microsoft Graph API, you can make use of the "tenantStatus" entity. The "tenantStatus" entity provides information about the overall health and status of your Intune tenant.

    Here's how you can find the Intune Dashboard Status on the Microsoft Graph API:

    1. Make an HTTP GET request to the following endpoint to retrieve the tenant status information:
    
    GET https://graph.microsoft.com/v1.0/deviceManagement/tenantStatus
    

    This endpoint will return the overall status of your Intune environment.

    1. In the response, you will find the "tenantStatus" object, which contains various properties providing details about the status, including "inGracePeriod", "lastCheckInDateTime", "mdmAuthority", "status", etc.

    The "status" property represents the overall status of your Intune environment. It can have values like "healthy," "warning," or "error," indicating the health of your tenant.

    Example response:

    {
      "value": [
        {
          "id": "tenantStatus",
          "status": "healthy",
          "mdmAuthority": "Intune",
          "lastCheckInDateTime": "2023-05-25T09:14:52.932Z",
          "inGracePeriod": false
        }
      ]
    }
    
    
    

    By accessing the status property in the response, you can determine the overall status of your Intune environment.

    Please note that you will need to authenticate your API requests with the appropriate permissions and authentication tokens to access the Microsoft Graph API and retrieve the Intune tenant status.

    For more details on the Microsoft Graph API and how to authenticate and make requests, refer to the official Microsoft Graph API documentation: https://docs.microsoft.com/en-us/graph/overview

    Additionally, keep in mind that the specific endpoint or properties may evolve over time. It's always a good practice to refer to the official Microsoft Graph API documentation and stay up to date with any changes or updates.

    0 comments No comments