Forum Discussion
CHEUNG Peter
Feb 28, 2020Copper Contributor
Access Exchange online Via Powershell permission only Org. Admin ?Global Admin?
Hello , Because I had programmed a task schedule for export Get-MsolUse, i Using my Global Admin permission is ok, but using a personal account is not good for this because when I leave the company...
CHEUNG Peter
Mar 02, 2020Copper Contributor
if I use Get-Mailbox need which permission? because I use this account of the automation task scheduler, so I don't want the account had much permission
because I can't make sure ConvertFrom-SecureString is Secure
VasilMichev
Mar 02, 2020MVP
To find out which role contains a specific cmdlet, you can use Get-ManagementRole. In this case, if all you need is Get-Mailbox, you can either use the built-in "View-Only Recipients" role, or create a custom one.