msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Get-MgDomainNameReference does not return Shared Mailbox
Using Get-MgDomainNameReference, a Shared Mailbox is only returned if the UPN of the mailbox references the domain name.
If the domain name is an alias of the sharedmailbox it is not returned.
Also tried the beta profile, and beta module.
To Reproduce Use Get-MgDomainNameReference and note the missing shared mailboxes.
Expected behavior Shared Mailboxes are returned.
Module Version ModuleType Version Name ExportedCommands
Manifest 1.26.0 Microsoft.Graph
Environment Data Name Value
PSVersion 5.1.19041.3803 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.19041.3803 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1