List healthOverviews
Article
10/27/2023
6 contributors
Feedback
In this article
Namespace: microsoft.graph
Retrieve the serviceHealth resources from the healthOverviews navigation property.
This operation provides the health report of all subscribed services for a tenant.
This API is available in the following national cloud deployments .
Global service
US Government L4
US Government L5 (DOD)
China operated by 21Vianet
✅
✅
✅
✅
Permissions
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it . For details about delegated and application permissions, see Permission types . To learn more about these permissions, see the permissions reference .
Permission type
Least privileged permissions
Higher privileged permissions
Delegated (work or school account)
ServiceHealth.Read.All
Not available.
Delegated (personal Microsoft account)
Not supported.
Not supported.
Application
ServiceHealth.Read.All
Not available.
HTTP request
GET /admin/serviceAnnouncement/healthOverviews
Optional query parameters
This method supports the OData query parameters to help customize the response.
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and a collection of serviceHealth objects in the response body. The response is paginated and each page contains 100 objects.
Examples
Example 1: Get serviceHealth resources
Request
GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/healthOverviews
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Admin.ServiceAnnouncement.HealthOverviews.GetAsync();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
//other-imports
)
graphClient := msgraphsdk.NewGraphServiceClientWithCredentials(cred, scopes)
healthOverviews, err := graphClient.Admin().ServiceAnnouncement().HealthOverviews().Get(context.Background(), nil)
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
ServiceHealthCollectionResponse result = graphClient.admin().serviceAnnouncement().healthOverviews().get();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
const options = {
authProvider,
};
const client = Client.init(options);
let healthOverviews = await client.api('/admin/serviceAnnouncement/healthOverviews')
.get();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
<?php
use Microsoft\Graph\GraphServiceClient;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$result = $graphServiceClient->admin()->serviceAnnouncement()->healthOverviews()->get()->wait();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
from msgraph import GraphServiceClient
graph_client = GraphServiceClient(credentials, scopes)
result = await graph_client.admin.service_announcement.health_overviews.get()
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#admin/serviceAnnouncement/healthOverviews",
"value": [
{
"service": "Exchange Online",
"status": "ServiceOperational",
"id": "Exchange"
},
{
"service": "Identity Service",
"status": "ServiceRestored",
"id": "OrgLiveID"
},
{
"service": "Microsoft 365 suite",
"status": "ServiceOperational",
"id": "OSDPPlatform"
}
]
}
Example 2: Include navigation property issues
Request
GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/healthOverviews?$expand=issues
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Admin.ServiceAnnouncement.HealthOverviews.GetAsync((requestConfiguration) =>
{
requestConfiguration.QueryParameters.Expand = new string []{ "issues" };
});
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
graphadmin "github.com/microsoftgraph/msgraph-sdk-go/admin"
//other-imports
)
graphClient := msgraphsdk.NewGraphServiceClientWithCredentials(cred, scopes)
requestParameters := &graphadmin.AdminServiceAnnouncementHealthOverviewsRequestBuilderGetQueryParameters{
Expand: [] string {"issues"},
}
configuration := &graphadmin.AdminServiceAnnouncementHealthOverviewsRequestBuilderGetRequestConfiguration{
QueryParameters: requestParameters,
}
healthOverviews, err := graphClient.Admin().ServiceAnnouncement().HealthOverviews().Get(context.Background(), configuration)
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
ServiceHealthCollectionResponse result = graphClient.admin().serviceAnnouncement().healthOverviews().get(requestConfiguration -> {
requestConfiguration.queryParameters.expand = new String []{"issues"};
});
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
const options = {
authProvider,
};
const client = Client.init(options);
let healthOverviews = await client.api('/admin/serviceAnnouncement/healthOverviews')
.expand('issues')
.get();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
<?php
use Microsoft\Graph\GraphServiceClient;
use Microsoft\Graph\Generated\Admin\ServiceAnnouncement\HealthOverviews\HealthOverviewsRequestBuilderGetRequestConfiguration;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestConfiguration = new HealthOverviewsRequestBuilderGetRequestConfiguration();
$queryParameters = HealthOverviewsRequestBuilderGetRequestConfiguration::createQueryParameters();
$queryParameters->expand = ["issues"];
$requestConfiguration->queryParameters = $queryParameters;
$result = $graphServiceClient->admin()->serviceAnnouncement()->healthOverviews()->get($requestConfiguration)->wait();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
from msgraph import GraphServiceClient
from msgraph.generated.admin.serviceAnnouncement.healthOverviews.health_overviews_request_builder import HealthOverviewsRequestBuilder
graph_client = GraphServiceClient(credentials, scopes)
query_params = HealthOverviewsRequestBuilder.HealthOverviewsRequestBuilderGetQueryParameters(
expand = ["issues"],
)
request_configuration = HealthOverviewsRequestBuilder.HealthOverviewsRequestBuilderGetRequestConfiguration(
query_parameters = query_params,
)
result = await graph_client.admin.service_announcement.health_overviews.get(request_configuration = request_configuration)
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
Response
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#admin/serviceAnnouncement/healthOverviews(issues())",
"value": [
{
"service": "Exchange Online",
"status": "ServiceOperational",
"id": "Exchange",
"issues": [
{
"startDateTime": "2020-11-04T00:00:00Z",
"endDateTime": "2020-11-20T17:00:00Z",
"lastModifiedDateTime": "2020-11-20T17:56:31.39Z",
"title": "Admins are unable to migrate some user mailboxes from IMAP using the Exchange admin center or PowerShell",
"id": "EX226574",
"impactDescription": "Admins attempting to migrate some user mailboxes using the Exchange admin center or PowerShell experienced failures.",
"classification": "Advisory",
"origin": "Microsoft",
"status": "ServiceRestored",
"service": "Exchange Online",
"feature": "Tenant Administration (Provisioning, Remote PowerShell)",
"featureGroup": "Management and Provisioning",
"isResolved": true,
"details": [],
"posts": [
{
"createdDateTime": "2020-11-12T07:07:38.97Z",
"postType": "Regular",
"description": {
"contentType": "Html",
"content": "Title: Exchange Online service has login issue. We'll provide an update within 30 minutes."
}
}
]
}
]
}
]
}