Forum Discussion
Office 365 Licensing Sync
- Mar 13, 2018
You are not being very clear in the description, but I assume you mean that you are running some sort of PowerShell script to manage the O365 user's licenses based on their on-premises attributes, right? If so, depending on how the script is run, the issue you have run into might be a result of connectivity issues/broken session. Best thing to do is to check the audit logs in Azure AD, especially the ones related to the Set License Properties operation: https://support.office.com/en-us/article/Search-the-audit-log-in-the-Office-365-Security-Compliance-Center-0d4d0f35-390b-4518-800e-0c7ec95e946c#useradminactivities
And/Or the log generated by the script, if any.
You are not being very clear in the description, but I assume you mean that you are running some sort of PowerShell script to manage the O365 user's licenses based on their on-premises attributes, right? If so, depending on how the script is run, the issue you have run into might be a result of connectivity issues/broken session. Best thing to do is to check the audit logs in Azure AD, especially the ones related to the Set License Properties operation: https://support.office.com/en-us/article/Search-the-audit-log-in-the-Office-365-Security-Compliance-Center-0d4d0f35-390b-4518-800e-0c7ec95e946c#useradminactivities
And/Or the log generated by the script, if any.