SOLVED

PowerShell Exchange Online

Copper Contributor

Hello, I want to read the permissions of a mailbox with PowerShell. However, I would like to have read only the UPN. how do i get that?

4 Replies

Hi @luanoprz 

I can't get your point if you want to get permission with powershell. just use Get-mailboxpermission 

 

 

If I have answered your question, please mark your post as Solved

If you like my response, please give it a Like :smile:

Appreciate your Kudos! Proud to contribute! 🙂

 

 

Hi @Deleted 

I just want to have the value from the User column (that's the UPN). I need these values in a variable to write them to a SharePoint list

luanoprz_0-1687624031099.png

 

best response confirmed by luanoprz (Copper Contributor)
Solution

@luanoprz 

use Get-MailboxPermission -Identity abc@xyz |ft identity,user

by pipline the result you will get only what you need.

mailbox.png

 

If I have answered your question, please mark your post as Solved

If you like my response, please give it a Like :smile:

Appreciate your Kudos! Proud to contribute! 🙂

 

 

Perfekt - Thank you!
1 best response

Accepted Solutions
best response confirmed by luanoprz (Copper Contributor)
Solution

@luanoprz 

use Get-MailboxPermission -Identity abc@xyz |ft identity,user

by pipline the result you will get only what you need.

mailbox.png

 

If I have answered your question, please mark your post as Solved

If you like my response, please give it a Like :smile:

Appreciate your Kudos! Proud to contribute! 🙂

 

 

View solution in original post