Change User apps in Office 365

%3CLINGO-SUB%20id%3D%22lingo-sub-2314622%22%20slang%3D%22en-US%22%3EChange%20User%20apps%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2314622%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20found%20in%20our%20Academic%20O365%20146%20Students%20that%20got%20by%20mistake%20license%20for%20all%20the%20apps%20in%20O365.%3C%2FP%3E%3CP%3EI%20need%20to%20change%20these%20users%20to%20another%20plan%20of%20apps.%3C%2FP%3E%3CP%3ECan%20I%20run%20it%20with%20PowerShell%20and%20CSV%20files%3F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22O365%20all%20apps.PNG%22%20style%3D%22width%3A%20544px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277332i66A927339080A6B2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22O365%20all%20apps.PNG%22%20alt%3D%22All%20apps%20license%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAll%20apps%20license%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Only%20Office%20apps.PNG%22%20style%3D%22width%3A%20397px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F277333i540B5ECA02CB0268%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Only%20Office%20apps.PNG%22%20alt%3D%22Only%20office%20apps%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOnly%20office%20apps%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2314622%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2314857%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20User%20apps%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2314857%22%20slang%3D%22en-US%22%3EEasy%20way%20to%20automate%20Azure%20AD%20Dynamic%20group%20which%20will%20update%20the%20users%20with%20the%20specified%20license%20for%20a%20set%20of%20users%20with%20a%20defined%20query%20from%20On-Prem%20AD%20with%20certain%20attributes.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fenterprise-users%2Flicensing-group-advanced%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fenterprise-users%2Flicensing-group-advanced%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2314952%22%20slang%3D%22en-US%22%3ERe%3A%20Change%20User%20apps%20in%20Office%20365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2314952%22%20slang%3D%22en-US%22%3EHi%20Seshadrr%2C%3CBR%20%2F%3EI%20found%20the%20license%20group%20that%20I%20need.%3CBR%20%2F%3EBut%20how%20I%20configure%20the%20apps%20for%20the%20specific%20license%3F%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

I found in our Academic O365 146 Students that got by mistake license for all the apps in O365.

I need to change these users to another plan of apps.

Can I run it with PowerShell and CSV files?

All apps licenseAll apps licenseOnly office appsOnly office apps

6 Replies
Easy way to automate Azure AD Dynamic group which will update the users with the specified license for a set of users with a defined query from On-Prem AD with certain attributes.

https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-group-advanced
Hi Seshadrr,
I found the license group that I need.
But how I configure the apps for the specific license?

1) Create a security dynamic group under Azure Active Directory -> Grou

2) New Group -> Name the group and select "dynamic user"

Seshadrr_0-1619966572604.png

 

3) Select the dynamic query and define the query (For eg: Extendedattribute1 and name the value to query

 

Seshadrr_1-1619966572611.png

 

 4) Once the dynamic group has created in Azure AD, then navigate to group -> License 

5) Click on Assignment 

6) Select your license eg: O365 education plan and select the sub-license whichever users need to update as dynamic propagation

 

Seshadrr_2-1619966572621.png

 

7) Finish the license assignment.

8) log in to AD On-Prem domain controller and set the “extensionAttribute1” for the users who need the above license with a defined query name as stated above

 

Seshadrr_3-1619966572623.png

 

 

9) Wait for some time to AD to O365 sync process

10) Enjoy automating the licensing

 

Check for license problems and resolve them

  1. Go to Azure Active Directory > Groups, and find the group that licenses were assigned to.
  2. On the group page, select Licenses. The notification on top of the page shows that there are 10 users that licenses couldn't be assigned to. Open it to see a list of all users in a licensing error state for this group.
  3. The Failed assignments column tells us that both product licenses couldn't be assigned to the users. The Top reason for failure column contains the cause of the failure. In this case, it's Conflicting service plans.

 

Thanks
I will try in the morning.
Hi,
If I changing the license and apps, and then assign all students users it will change to them the apps?
Whatever the license assignment selected through the dynamic filter group, those will get processed.

https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups-create-rule