How to revoke recipient permission from shared mailbox in offic 365?

ဒီနေ့တော့ Shared Mailbox ကို Full Access and Send As permission ရထားတဲ့ recipient ကို permission revoke ပြန်လုပ်ပုံလေး ဝေမျှချင်ပါတယ်။

Powershell Syntax ကတော့ ဒီလိုပါ။

Revoke Full Access permissions for Shared Mailbox
Remove-MailboxPermission <Shared Mailbox Name or Full e-mail address> -User -AccessRights FullAccess

Revoke Send As permissions for Shared Mailbox
Remove-RecipientPermission -AccessRights SendAs -Trustee  

အောက်မှာ ဥပမာလေးနဲ့ ပြထားပါတယ်။
helpdesk@ictformyanmar.com ဟာ technical-support@ictformyanmar.com ရဲ့ Mail Box ကို Full and Send As permission ရထားပါတယ်။
အဲဒီ permission ၂ ခုကို ကျတော် ပြန် revoke လုပ်ချင်ပါတယ်။
Permission Revoke မလုပ်ခင် ရထားတဲ့ Permission တွေကို သေချာအောင် အရင် ပြန်စစ်ပါမယ်။
အောက်က Powershell Command လေးတွေနဲ့ စစ်ပါတယ်။


To display Full Access permissions for Shared Mailbox
Get-Mailboxpermission "Technical Support"
သို့မဟုတ်
Get-Mailboxpermission technical-support@ictformyanmar.com

To display Send As permissions for Shared Mailbox
Get-RecipientPermission "Technical Support"
သို့မဟုတ်
Get-RecipientPermission technical-support@ictformyanmar.com

Permission တွေကို စစ်ပြီးရင်တော့ revoke လုပ်ဖို့ အောက်က Command တွေ အတိုင်း Powershell Windows မှာ Copy & Paste လုပ်ပါမယ်။

Remove-MailboxPermission "Technical Support" -User "Help Desk" -AccessRights FullAccess
သို့မဟုတ်
Remove-MailboxPermission technical-support@ictformyanmar.com -User helpdesk@ictformyanmar.com -AccessRights FullAccess

Confirm
Are you sure you want to perform this action?
Removing mailbox permission "Technical Support" for user "Help Desk" with access
rights "'FullAccess'".
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):

လို့ပေါ်လာရင် Enter နှိပ်ပါ။

Remove-RecipientPermission "Technical Support"  -AccessRights SendAs -Trustee  "Help Desk"
သို့မဟုတ်
Remove-RecipientPermission technical-support@ictformyanmar.com -AccessRights SendAs -Trustee  helpdesk@ictformyanmar.com

Confirm
Are you sure you want to perform this action?
Removing recipient permission 'SendAs' for user or group 'Help Desk' from recipient
'Technical Support'.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):

လို့ပေါ်လာရင် Enter နှိပ်ပါ။

Revoke လုပ်တာ Sucessful ဖြစ် မဖြစ်ကို အောက်က Powershell Command တွေနဲ့ ပြန်စစ်နိုင်ပါတယ်။

To display Full Access permissions for Shared Mailbox
Get-Mailboxpermission "Technical Support"
သို့မဟုတ်
Get-Mailboxpermission technical-support@ictformyanmar.com

To display Send As permissions for Shared Mailbox
Get-RecipientPermission "Technical Support"
သို့မဟုတ်
Get-RecipientPermission technical-support@ictformyanmar.com

အောက်မှာ Before Revoke Permissions, Revoking Permissions နဲ့ After Revoked Permissions ဆိုပြီး ပုံလေး ၃ ပုံ နဲ့ နမူနာ လုပ်ပြထားပါတယ်။





ကဲ...ဒါဆိုရင် helpdesk@ictformyanmar.com ကနေပြီးတော့ technical-support@ictformyanmar.com ရဲ့ mailbox ကို access လုပ်ခွင့်မရှိတော့ပါဘူး။

Inheritance Type နဲ့ ပတ်သက်တဲ့ Group အကြောင်းတွေကို အလျင်းသင့်တဲ့အခါ ရေးပါဦးမယ်

ပျော်ရွှင်ပါစေဗျာ။
(Be knowledgeable, pass it on then)

No comments :

Post a Comment