Forum Discussion

Twan_Duvigneau's avatar
Twan_Duvigneau
Copper Contributor
Nov 02, 2021
Solved

Managing shared mailbox access using PowerShell (at onboarding) using modern authentication

Hello all, as the Microsoft Exchange team currently has a fixed final date on when basic authentication will be disabled we are left with a big question mark how we will automatically manage out shared mailbox access at the onboarding of our users. Right now we basically have a powershell script running that connects to exchange online using a pssession with basic authentication (which has no support for modern authentication). However the EXOV2 module does have support for modern authentication, however you cant set mailbox access using this module, as it does not have the required CMDlets to do so.

 

So I wondered, has anybody found the way to manage (shared)mailbox access rights using modern authentication, so not basic authentication? I've looked at the Microsoft Graph, using appplications, possibilities in Azure Automation but nothing has quite solved it yet. The only that somewhat worked was using the Azure cloud shell, however you cant automate using that shell as far as I know.

4 Replies

Resources