SOLVED

Group owner as global admin

%3CLINGO-SUB%20id%3D%22lingo-sub-712587%22%20slang%3D%22en-US%22%3EGroup%20owner%20as%20global%20admin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712587%22%20slang%3D%22en-US%22%3E%3CP%3EAloha!%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20am%20a%20global%20admin%20in%20our%20organization%2C%20and%20I'd%20like%20to%20be%20a%20group%20owner%20of%20all%20groups%20existing%20in%20our%20organization%20by%20default.%20Today%2C%20I%20tried%20deleting%20a%20plan%20in%20Planner%20but%20couldn't%20do%20it%2C%20since%20only%20the%20group%20owner%20is%20able%20to%20do%20so.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20Julius%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712662%22%20slang%3D%22en-US%22%3ERe%3A%20Group%20owner%20as%20global%20admin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712662%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F346215%22%20target%3D%22_blank%22%3E%40OAGM-JU%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20expected%20behavior.%20To%20delete%20a%20plan%20(or%20group)%2C%20you%20should%20have%20been%20already%20added%20as%20owner%20of%20the%20group.%20You%20can't%20delete%20the%20plan%20without%20being%20a%20owner%20of%20the%20group%20even%20though%20you%20have%20Global%20Admin%20privilege.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20you%20have%20global%20admin%20privilege%2C%26nbsp%3B%20you%20can%20easily%20add%20yourself%20as%20owner%20of%20the%20group%20using%20the%20Exchange%20Online%20powershell%20cmdlet%20%3CA%20title%3D%22Add-UnifiedGroupLinks%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fusers-and-groups%2Fadd-unifiedgrouplinks%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAdd-UnifiedGroupLinks%3C%2FA%3E%20and%20try%20again.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%24userToAddOwner%20%3D%20%22globaladmin%40yourdomain.com%22%3CBR%20%2F%3EAdd-UnifiedGroupLinks%20%E2%80%93Identity%20%22O365Group%22%20%E2%80%93LinkType%20Owners%20%E2%80%93Links%20%24userToAddOwner%26nbsp%3B%26nbsp%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-712671%22%20slang%3D%22en-US%22%3ERe%3A%20Group%20owner%20as%20global%20admin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-712671%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F4643%22%20target%3D%22_blank%22%3E%40kombaiah%20Murugan%3C%2FA%3E!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhen%20using%20PowerShell%20I%20have%20to%20manually%20fill%20group%20name%20and%20user%20name%20such%20as.%20I%20was%20hoping%20to%20set%20a%20default%2C%20add%20my%20user%20as%20an%20owner%20to%20all%20groups%20created%20within%20my%20organization.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20idea%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-713131%22%20slang%3D%22en-US%22%3ERe%3A%20Group%20owner%20as%20global%20admin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-713131%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F346215%22%20target%3D%22_blank%22%3E%40OAGM-JU%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20try%20below%20script%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%24userToAddOwner%20%3D%20%22globaladmin%40yourdomain.com%22%3CBR%20%2F%3EGet-UnifiedGroup%20-ResultSize%20Unlimited%20%7C%20ForEach-Object%20%7B%3CBR%20%2F%3EAdd-UnifiedGroupLinks%20%E2%80%93Identity%20%24_.Name%20%E2%80%93LinkType%20Owners%20%E2%80%93Links%20%24userToAddOwner%3CBR%20%2F%3E%7D%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-720808%22%20slang%3D%22en-US%22%3ERe%3A%20Group%20owner%20as%20global%20admin%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-720808%22%20slang%3D%22en-US%22%3EThanks!%20I%20have%20to%20send%20this%20to%20our%20IT%2C%20somehow%20I%20can%20not%20enable%20Exchange%20PowerShell%20on%20my%20computer%2C%20even%20though%20I%20am%20a%20global%20admin.%20Mahalo%20for%20your%20help!%3C%2FLINGO-BODY%3E
New Contributor

Aloha! 

I am a global admin in our organization, and I'd like to be a group owner of all groups existing in our organization by default. Today, I tried deleting a plan in Planner but couldn't do it, since only the group owner is able to do so.

 

Any ideas?

Thanks Julius

4 Replies
Best Response confirmed by Juan Carlos González Martín (MVP)
Solution

@OAGM-JU 

 

This is expected behavior. To delete a plan (or group), you should have been already added as owner of the group. You can't delete the plan without being a owner of the group even though you have Global Admin privilege.

 

Since you have global admin privilege,  you can easily add yourself as owner of the group using the Exchange Online powershell cmdlet Add-UnifiedGroupLinks and try again.

 

$userToAddOwner = "globaladmin@yourdomain.com"
Add-UnifiedGroupLinks –Identity "O365Group" –LinkType Owners –Links $userToAddOwner  

 

Thanks @kombaiah Murugan!

 

when using PowerShell I have to manually fill group name and user name such as. I was hoping to set a default, add my user as an owner to all groups created within my organization. 

 

Any idea?

@OAGM-JU 

 

You can try below script :

 

$userToAddOwner = "globaladmin@yourdomain.com"
Get-UnifiedGroup -ResultSize Unlimited | ForEach-Object {
Add-UnifiedGroupLinks –Identity $_.Name –LinkType Owners –Links $userToAddOwner
}
Thanks! I have to send this to our IT, somehow I can not enable Exchange PowerShell on my computer, even though I am a global admin. Mahalo for your help!