Forum Discussion
Pawel Jarosz
Feb 05, 2025Copper Contributor
Few questions about Exchange Online PowerShell module
Hey all,
Got few questions regarding Exchange Online PowerShell module. It all started with me trying to run
Get-mailbox <mailbox> -MessageCopyForSendOnBehalfEnabled $True
The problem is I've configured FIDO2 key for my admin account yesterday and was very astonished I was not able to connect with error: "You are required to sign-in with your passkey to access this resource, but this app doesn't support it..." The app name in the error is "Microsoft Exchange REST API Based Powershell". My question is as I've dag a little bit in the Internet - is it even possible to log in to Exchange PowerShell using FIDO key?
Second is question is, is there a way to set up this setting using graph API module? I was searching but was not able to find.
And final question, my colleague told me that Exchange Online PS module is going to be decom this year - does anyone has any news on this?
Might be too much questions in one post however all are connected and I felt it would be ok to put all this in one place.
Appreciate your help on this,
Pawel Jarosz
- Andres-BohrenSteel Contributor
Hi Pawel Jarosz
Q: My question is as I've dag a little bit in the Internet - is it even possible to log in to Exchange PowerShell using FIDO key?
Yes that's possible.What Version of PowerShell are you using? (Example below is PowerShell 5.1)
What Version of the ExchangeOnlineManagement PowerShell Module are you using?
Recommend you to use the latest Version https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.7.1Q: Second is question is, is there a way to set up this setting using graph API module?
No, Exchange Online Management is using the ExchangeOnlineManagement PowerShell Module. No Graph Administration possible.
Q: And final question, my colleague told me that Exchange Online PS module is going to be decom this year - does anyone has any news on this?
https://techcommunity.microsoft.com/blog/exchange/deprecation-of-remote-powershell-in-exchange-online-%e2%80%93-re-enabling-or-extending-r/3779692
Q: The app name in the error is "Microsoft Exchange REST API Based Powershell"
You are already using the new one.
Kind Regards