I am trying to run the New-ApplicationAccessPolicy command in order to scope permissions for mailboxes. I completely followed the steps from links: https://docs.microsoft.com/en-us/graph/auth-limit-mailbox-access and https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2?view=exchange-ps. I connected to exchange successfully and i am able to run some of the commands, like Get-EXOMailbox:
But when i tried other commands like New-ApplicationAccessPolicy or Get-ApplicationAccessPolicy, i receive an error:
Does it mean that i need additional modules to install and if yes, which ones. Please advice how to proceed.
My current modules:
Version of powershell is 5.1