Solved

office 365 , exchange ,

Posted on 2016-10-27
11
50 Views
Last Modified: 2016-10-27
Hi all,

how do i reverse this command , to remove permission out , instead manually remove?
many thank you in advance

Get-Mailbox -ResultSize unlimited | Add-MailboxPermission -User ServiceAccount@domain.com -AccessRights fullaccess -InheritanceType all -Automapping $false
0
Comment
Question by:VN-PC view
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
11 Comments
 
LVL 13

Expert Comment

by:Mark Galvin
ID: 41862057
Hi

So you want to remove the Full Access you gave but manually one user at a time?

Via Powershell:
Remove-MailboxPermission -Identity source@mailbox.com -User ServiceAccount@domain.com -AccessRights FullAccess
0
 

Author Comment

by:VN-PC view
ID: 41862060
Hi Mark,

I wanted remove all at one shot instead go in each mailbox account remove him out,

thanks you Mark
0
 

Author Comment

by:VN-PC view
ID: 41862064
Hi mark ,


that command seem like one account, but is there a way all, there to many mailboxes if i go that round.

Thanks
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 41

Accepted Solution

by:
Vasil Michev (MVP) earned 250 total points
ID: 41862080
Try this:

Get-Mailbox -ResultSize unlimited | Remove-MailboxPermission -User ServiceAccount@domain.com -AccessRights fullaccess

Open in new window

0
 
LVL 13

Assisted Solution

by:Mark Galvin
Mark Galvin earned 250 total points
ID: 41862085
Well yes, the same you used the first time but use 'Remove-MailboxPermission'
0
 

Author Comment

by:VN-PC view
ID: 41862090
HI Vasil,

I did try that before but no luck, because get-mailbox don't recognized in remove-mailboxpermission .
thanks
0
 

Author Comment

by:VN-PC view
ID: 41862103
Hi all,

I can try that again , i certainly it's no go first time, but let me try again maybe mistype something.
0
 
LVL 13

Expert Comment

by:Mark Galvin
ID: 41862112
Can you screen shot the command youre using and the result please?
0
 

Author Comment

by:VN-PC view
ID: 41862130
Hi all,

PS C:\Users\admin> Get-Mailbox -ResultSize unlimited | remove-MailboxPermission -User dawson@ncbro.com -AccessRights fullaccess -InheritanceType all -Automapping $false
A parameter cannot be found that matches parameter name 'Automapping'.
    + CategoryInfo          : InvalidArgument: (:) [Remove-MailboxPermission], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Remove-MailboxPermission
    + PSComputerName        : outlook.office365.com
0
 

Author Comment

by:VN-PC view
ID: 41862156
Vasil Michev (MVP)


Yes, your command is did it , i was reserve my command and that is why mapping error popped up.

thank you all
0
 

Author Closing Comment

by:VN-PC view
ID: 41862158
Thank you all
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question