“Sync Data Labels Now” failed with error “Something went Wrong. We are not able to fetch labels for this application”
120
Created On 07/30/25 18:07 PM - Last Modified 10/27/25 06:34 AM
Symptom
After the authorization step is successfully completed, “Sync Data Labels Now” step fails to complete rendering an error “Something went Wrong. We are not able to fetch labels for this application” as shown below.
Environment
- Data Security
- Microsoft Purview environment
- Office 365 package
- Azure workspace
Cause
This mandatory description field is missing in Microsoft during the time of label creation.
Resolution
These following steps should be performed to identify and resolve the issue:
- Start off with a fresh session or an incognito browser session in to Data Security portal-> Settings->Data Label Settings-> Microsoft Information Protection -> Office 365 instance
- Ensure that there are no connection issues between Microsoft Purview and Data Security.
- Ensure that the “Authorization with Microsoft is successful” as per step3 of Microsoft-labeling-for-office-365
- For this use-case and sync to work, verify Data Labels are created on Purview. Make sure that all mandatory fields of each data label are entered with content
- For this issue, ensure that the “description field for both user level and admin level.“
- Finally, after few hours of normalizing above data points, verify Data Security->Settings->Data Label Settings-> Microsoft Information Protection ->”Sync Data Labels Now” status in Green.
Additional Information
- On Microsoft Purview when admins defined MIP/AIP data labels, they may miss adding description field.
- The decryption comes in 2 variations per sensitivity label such as (1) description for users (2) description for admins.
- This description field is a mandatory in Microsoft during the time of label creation.
- To detect this error, a HAR file was taken during the time of “sync”. The error was pointing to a 500 “internal server error”. When correlated this error with the backend API call which rendered the error, there was an exception “internal server error” (500) from API call SensitivityLabels .
- This exception was caused by not having content within description field in every data label part of Purview.