SOLVED

Provide Send-As Permission to Shared Mailbox through Security group

%3CLINGO-SUB%20id%3D%22lingo-sub-2954884%22%20slang%3D%22en-US%22%3EProvide%20Send-As%20Permission%20to%20Shared%20Mailbox%20through%20Security%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2954884%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20People%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20provide%20Send%20As%20permission%20to%20a%20Shared%20Mailbox%20and%20a%20O365%20group%20through%20a%20Security%20group.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20exact%20case%20here%20is%2C%20I%20am%20performing%20a%20User%20Onboarding%20Automation%20through%20Power%20Automate%20and%20tried%20adding%20the%20permission%20through%20Mail%20Enabled%20Security%20group%2C%20which%20doesn't%20work%20from%20PA.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHence%20I%20did%20the%20below%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Ran%20the%20script%26nbsp%3BAdd-RecipientPermission%20sharedmailbox%40domain.com%20-AccessRights%20SendAs%20-Trustee%20MailEnabledSG.%20To%20provide%20Send%20As%20Permission%20to%20Mail%20Enabled%20Security%20Group.%3C%2FP%3E%3CP%3E2.%26nbsp%3BAdd-DistributionGroupMember%20-Identity%20MailEnabledSG%40domain.com%20-Member%20SecurityGroup.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUnder%20the%20security%20group%20members%20are%20added%2C%20however%20it's%20been%20more%20than%2024%20hours%20and%20it%20do%20not%20shows%20any%20positive%20results.%20Can%20someone%20help%20me%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2954884%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2955077%22%20slang%3D%22en-US%22%3ERE%3A%20Provide%20Send-As%20Permission%20to%20Shared%20Mailbox%20through%20Security%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2955077%22%20slang%3D%22en-US%22%3EHello%2C%20did%20you%20try%20to%20do%20that%20via%20Exchange%20Admin%20center%20user%20interface%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2955111%22%20slang%3D%22en-US%22%3ERE%3A%20Provide%20Send-As%20Permission%20to%20Shared%20Mailbox%20through%20Security%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2955111%22%20slang%3D%22en-US%22%3EHey%20Victor%3CBR%20%2F%3E%3CBR%20%2F%3EI%20cannot%20add%20Security%20group%20via%20EAC%2C%20We%20have%20option%20only%20to%20add%20Mail%20Enabled%20Security%20Group%3C%2FLINGO-BODY%3E
New Contributor

Hello People,

 

I am trying to provide Send As permission to a Shared Mailbox and a O365 group through a Security group.

 

My exact case here is, I am performing a User Onboarding Automation through Power Automate and tried adding the permission through Mail Enabled Security group, which doesn't work from PA.

 

Hence I did the below

 

1. Ran the script Add-RecipientPermission sharedmailbox@domain.com -AccessRights SendAs -Trustee MailEnabledSG. To provide Send As Permission to Mail Enabled Security Group.

2. Add-DistributionGroupMember -Identity MailEnabledSG@domain.com -Member SecurityGroup.

 

Under the security group members are added, however it's been more than 24 hours and it do not shows any positive results. Can someone help me ?

7 Replies
Hello, did you try to do that via Exchange Admin center user interface?
Hey Victor

I cannot add Security group via EAC, We have option only to add Mail Enabled Security Group
best response confirmed by frankzz (New Contributor)
Solution

I did not test it myself but I believe it will work only for mail-enabled security groups.
Could you transform your security group to a mail-enabled one?

I have added the user straight to the mail enabled security group and tried accessing the shared mailbox. But it throws an error as 'Access Denied'. Do you know how long it takes for the sync ?

Nowadays I am facing huge delay in sync of permissions :(
On my tenant it takes about 30 minutes.
Finally it worked with Mail Enabled Security group, by any chance to do you know if it's possible that permissions for shared mailbox can be assigned through distribution list ?
No I do not know. Just try to do that yourself.