That's what I thought, but I wanted to know if there's a way to find audit logs for a (Dynamic)Distribution Group. I don't find such option in the Compliance portal. And do you by chance have idea why the command "New-Mailbox" doesn't have properties "-InactiveMailbox" and "-Shared" in one property set?
The New-Mailbox cmdlet does have -Shared parameter, if you are not seeing it someone has likely made changes to the default roles. The -InactiveMailbox parameter is only available on the Get- cmdlet, as you cannot directly create an inactive mailbox.
"New-Mailbox -InactiveMailbox" actually recovers a soft deleted mailbox. It just can't be used in conjunction with "Shared" parameter as these two are in different parameter sets. And I was wondering why is that. Of course one can first use "New-Mailbox -InactiveMailbox" to recover the mailbox as UserMailbox and then convert it to Shared. But why the extra steps instead of simply giving the ability to use "New-Mailbox -Shared -InactiveMailbox"?