Assign licenses to groups

%3CLINGO-SUB%20id%3D%22lingo-sub-2706814%22%20slang%3D%22en-US%22%3EAssign%20licenses%20to%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2706814%22%20slang%3D%22en-US%22%3E%3CP%3EOftentimes%20it's%20much%20more%20conveniert%20to%20assign%20licenses%20via%20groups%20and%20not%20to%20the%20individual%20users.%3CBR%20%2F%3EHowever%20in%20the%20Azure%20portal%20for%20some%20of%20my%20groups%2C%20there%20is%20no%20licenses%20tab%20and%20also%2C%20when%20I%20choose%20the%20way%20way%20round%20and%20click%20on%20the%20general%20licenses%20button%20and%20try%20to%20assign%20a%20license%20to%20a%20group%2C%20the%20same%20groups%20don't%20show%20up%20in%20the%20list.%3CBR%20%2F%3EI%20was%20not%20able%20to%20find%20out%20why%20I%20can%20assign%20licenses%20to%20some%20groups%20but%20not%20to%20others.%3CBR%20%2F%3ETake%20for%20example%20these%20two%20Groups.%20I%20can't%20find%20a%20difference%2C%20but%20one%20can%20be%20assigned%20licenses%20to%20but%20not%20to%20the%20other%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ArneDD_0-1630496009256.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307274i2051929892E5C872%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ArneDD_0-1630496009256.png%22%20alt%3D%22ArneDD_0-1630496009256.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ArneDD_1-1630496076341.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307275i415406D95F2C57D7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ArneDD_1-1630496076341.png%22%20alt%3D%22ArneDD_1-1630496076341.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhat%20might%20be%20the%20reason%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2707197%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20licenses%20to%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2707197%22%20slang%3D%22en-US%22%3EI%20noticed%20when%20I%20create%20the%20Microsoft%20365%20group%20in%20the%20Microsoft%20365%20Admin%20Center%2C%20the%20Licenses%20option%20(in%20Azure%20AD)%20is%20not%20available.%20If%20I%20create%20the%20Microsoft%20365%20group%20in%20Azure%20Active%20Directory%2C%20the%20Licenses%20option%20is%20available.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2707590%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20licenses%20to%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2707590%22%20slang%3D%22en-US%22%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F593067%22%20target%3D%22_blank%22%3E%40TomWechsler%3C%2FA%3E%2C%20that%20helped%20me%20to%20find%20the%20reason.%3CBR%20%2F%3EIt's%20not%20really%20the%20group%20type%20that%20matters%2C%20but%20a%20property%20called%3A%20%22securityEnabled%22.%20This%20is%20always%20%22true%22%20for%20security%20groups%20but%20for%20Microsoft365%20it%20can%20be%20%22true%20or%20false%22.%3CBR%20%2F%3EIf%20this%20is%20set%20to%20%22false%22%20you%20cannot%20assign%20licenses%20to%20the%20group.%3CBR%20%2F%3EIf%20you%20create%20a%20new%20group%20via%20Teams%20or%20admin.teams.microsoft.com%2C%20then%20it%20is%20a%20Microsoft365%20group%20and%20the%20property%20%22securityEnabled%22%20is%20automatically%20set%20to%20%22false%22.%3CBR%20%2F%3EThe%20same%20thing%20happens%20when%20you%20create%20a%20Microsoft365%20group%20through%20%3CA%20href%3D%22https%3A%2F%2Fportal.office.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.office.com%2F%3C%2FA%3E.%3CBR%20%2F%3EHowever%2C%20if%20you%20create%20a%20Microsoft365%20group%20via%20portal.azure.com%2C%20then%20%22securityEnabled%22%20is%20automatically%20set%20to%20%22true%22.%3CBR%20%2F%3EJust%20one%20of%20the%20daily%20riddles%20that%20Microsoft%20presents%20to%20its%20users.%3C%2FLINGO-BODY%3E
Occasional Contributor

Oftentimes it's much more conveniert to assign licenses via groups and not to the individual users.
However in the Azure portal for some of my groups, there is no licenses tab and also, when I choose the way way round and click on the general licenses button and try to assign a license to a group, the same groups don't show up in the list.
I was not able to find out why I can assign licenses to some groups but not to others.
Take for example these two Groups. I can't find a difference, but one can be assigned licenses to but not to the other:

ArneDD_0-1630496009256.png

 

ArneDD_1-1630496076341.png

What might be the reason?

2 Replies
I noticed when I create the Microsoft 365 group in the Microsoft 365 Admin Center, the Licenses option (in Azure AD) is not available. If I create the Microsoft 365 group in Azure Active Directory, the Licenses option is available.
Thanks @TomWechsler, that helped me to find the reason.
It's not really the group type that matters, but a property called: "securityEnabled". This is always "true" for security groups but for Microsoft365 it can be "true or false".
If this is set to "false" you cannot assign licenses to the group.
If you create a new group via Teams or admin.teams.microsoft.com, then it is a Microsoft365 group and the property "securityEnabled" is automatically set to "false".
The same thing happens when you create a Microsoft365 group through https://portal.office.com/.
However, if you create a Microsoft365 group via portal.azure.com, then "securityEnabled" is automatically set to "true".
Just one of the daily riddles that Microsoft presents to its users.