{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":26283,"path":"it-asset-management/software-asset-management/ver-o365-info.md","title":"Determine and verify Microsoft 365 subscription information in your ServiceNow instance","bundle":null,"doc_type":null,"release":"australia","body":"\n# Determine and verify Microsoft 365 subscription information in your ServiceNow instance\n\nDetermine the exact software subscription information to be pulled from the Microsoft 365 admin center and verify if complete subscription information is pulled accurately to ServiceNow.\n\n## Before you begin\n\nRole required: sam\\_admin\n\n## Procedure\n\n1.  Filter with the Microsoft 365 integration profile you created to determine the exact software subscription information to be pulled from Microsoft 365 admin center to ServiceNow.\n\n    This subscription includes all subscriptions available on the Microsoft 365 admin center.\n\n2.  Verify with the Microsoft 365 admin if complete subscription information is pulled accurately to ServiceNow.\n\n    **Note:**\n\n    Software Asset Management pulls the last activity date for Microsoft 365 products using a combination of Microsoft System Center Configuration Manager \\(SCCM\\) integration and Microsoft 365 integration.\n\n3.  If your Microsoft 365 subscription data isn’t getting pulled into Software Asset Management, verify your integration setup:\n\n    1.  On the Integration Profile form, open the REST message record by selecting the Preview icon \\[Omitted image \"preview-icon.png\"\\] next to the **REST message** field.\n\n    2.  Select **Open Record** in the record preview.\n\n    3.  On the Rest Message form, select the **Get OAuth Token** related link.\n\n        **Note:** For the role required to perform this step, refer to the [Minimal user permissions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-asset-management/software-asset-management/integrate-with-microsoft.md) table.\n\n    4.  On the OAuth flow verification dialog box, view the status of the OAuth flow to determine whether your integration is set up correctly.\n\n        -   If the `OAuth token flow completed successfully` message appears, your integration is set up correctly.\n        -   If the `OAuth flow failed` message appears, your integration isn’t set up correctly. Use the information in this message to identify the errors in your integration setup.\n4.  If your Power BI usage isn’t getting pulled into Software Asset Management, verify the status of your Power BI API connection.\n\n    1.  On the Integration Profile form, select and hold \\(or right-click\\) the form header.\n\n    2.  Select **Show XML**.\n\n        **Note:** If the **Show XML** option isn't visible in the default view, you can customize the view. Select and hold \\(or right-click\\) the form header and then select **View** &gt; **custom integration**.\n\n    3.  Under **&lt;xml&gt;** &gt; **&lt;samp\\_sw\\_subscription\\_profile&gt;** &gt; **&lt;custom\\_properties&gt;**, view the **powerBIAPIStatus** property to determine the status of your Power BI API connection.\n\n        -   If the **powerBIAPIStatus** property is set to **success**, the Power BI API connection was successful.\n        -   If the **powerBIAPIStatus** property is set to **failed**, the Power BI API connection wasn’t successful. Verify that you’ve followed all the integration setup steps correctly. You can also check your logs for more information about any errors in your integration setup.\n5.  If the **User** field in the Software Subscription \\[samp\\_sw\\_subscription\\] table is empty, you can map the field with an associated user.\n\n    For more information, see [Associate a user with subscription records](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-asset-management/saas-license-management/map-user-data.md).\n\n\n"}}