Link to home
Start Free TrialLog in
Avatar of Phil Mapfumo
Phil MapfumoFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How to Share and app with Office365 Groups

Hi
I would like assistance with a Powershell command that will list all Office365 groups and show whether there are security-enabled or not. Then a second Powershell command that will security-enable all the Office365 group.  I have been using the link below, under the heading of "Share an app with Office365 groups" which explains what l am trying to do but l have not had much luck running the commands.I would appreciate your assistance.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app#share-an-app 
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

There's no way to security-enable a group in O365, you have to recreate it. As for getting the list of groups, Get-MsolGroup/Get-AzureADGroup will give you all the ones you care about.
Share the exact error screenshot you are getting.
Avatar of Phil Mapfumo

ASKER

 Thanks you for your comments guys, however what I am trying to do is to convert all the Office365 groups to be security-enabled so that there can be used to share applications, as described in the link under the heading 

"Share an app with Office 365 Groups" There is this command that makes the group security-enabled Set-AzureADGroup -ObjectId <ObjectID> -SecurityEnabled $True , however this command will security-enable one group, therefore what is the command to enable all Office365 Groups?

ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
 Thank you very much Vasil, those Powershell commands got me the information that l needed, much appreciated