Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.

Set up Microsoft Office 365 integration

Log in to subscribe to topics and get notified when content changes.

Set up Microsoft Office 365 integration

Set up profiles for integration with Office 365 Admin Center to download subscription information to be compared with software installations for compliance.

Before you begin

Role required: admin

About this task

For compliance reporting on the Office 365 dashboard, integrate Office 365 with Software Asset Management.
Note: The Microsoft publisher pack (com.snc.samp.microsoft) plugin must be installed to view the Office 365 dashboard tab.

A scheduled job to obtain subscription information from Office 365 runs once a week.

Content related to Office 365 integration can be accessed from the Integration - Office 365 application menu.
  • Software Models contains software model records for Microsoft products that have a subscription.
  • Subscriptions contains subscription records for Microsoft products.
  • Administration > Setup contains profile records for integration with Office 365.

When you register your application for Office 365, you can do so using either the Microsoft Application Registration Portal, or the Microsoft Azure portal, but not both. You must log in using an admin account.

Procedure

  1. To register an application for Office 365 in the Microsoft Application Registration Portal, navigate to Application Registration Portal - Microsoft.
    Note: When you register your application for Office 365, you can do so using either the Microsoft Application Registration Portal, or the Microsoft Azure portal, but not both.
    1. Click Add an app to create a new application.
      The application ID is shown on the registration page.
    2. Under Application Secrets, click Generate New Password to create a client secret.
      Note: The client secret is not shown again so it must be stored at this time.
    3. Under Microsoft Graph Permissions, add Application Permissions Reports.Read.All and User.Read.All.
    4. Click Save.
    5. Provide admin consent for the Office 365 application using the Microsoft URL.
      https://login.microsoftonline.com/common/adminconsent?client_id=YOUR_APPLICATION_ID&state=12345

      Where YOUR_APPLICATION_ID is the application ID generated when you registered your application.

    6. Click Accept.
      Note: Close the No reply address is registered for the application message, if shown.
  2. To register an application for Office 365 in the Microsoft Azure portal, navigate to Microsoft Azure App registrations (Preview).
    Note: When you register your application for Office 365, you can do so using either the Microsoft Application Registration Portal, or the Microsoft Azure portal, but not both.
    1. Click + New registration and add the name of the application.
    2. Under Supported account types, select Accounts in any organizational directory.
    3. Click Register.
    4. Open the application that you registered to obtain the Application (client) ID and the Application (tenant) ID in the Overview section.
    5. In the Certificates and Secrets section, create a new client secret.
      Note: The client secret is not shown again so it must be stored at this time.
    6. In the API permissions section, click + Add a permission and select APIs my organization uses.
    7. Select Microsoft Graph, add Application Permissions Reports.Read.All and User.Read.All.
    8. In the Grant consent section, click Grant admin consent.
  3. Integrate Microsoft Office 365 with Software Asset Management.
    1. Navigate to Integration - Office 365 > Administration > Setup and create a new Office 365 Profile record (see table for field descriptions).
      Table 1. Office 365 Profile form
      Field Description
      Display name Unique name of the Office 365 subscription profile.

      For example, Office 365 integration for [your company].

      Application Id Office 365 application ID key which is obtained when you register your application with Microsoft.
      Tenant name or Id Office 365 globally unique identifier (GUID), which is obtained when you register your Office 365 application with Microsoft.

      Your company domain name, for example.

      OAuth application Open authorization (OAuth) application, which contains the client secret. The client secret is obtained when you register your Office 365 application with Microsoft.
    2. Click Submit.
    When the scheduled job is run, Microsoft Office 365 subscription data is obtained and integrated with Software Asset Management.

    You can view subscription data by navigating to Integration - Office 365 > Subscriptions.

    You can check the status of the user subscription job by navigating to Software Asset > Administration > Job Results.

    You can verify integration setup by clicking the Get Oauth Token related link in the REST message record of the integration profile.

Feedback