Not able to execute New-ApplicationAccessPolicy in Powershell

e.d.petrova 1 Reputation point
2020-04-08T13:49:28.507+00:00

Hi

I am trying to run the New-ApplicationAccessPolicy command in order to scope permissions for mailboxes. I completely followed the steps from links: https://learn.microsoft.com/en-us/graph/auth-limit-mailbox-access and https://learn.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:

7262-image1.jpg

But when i tried other commands like New-ApplicationAccessPolicy or Get-ApplicationAccessPolicy, i receive an error: 7205-image2.jpg

Does it mean that i need additional modules to install and if yes, which ones. Please advice how to proceed.

My current modules:

7172-image3.jpg

7173-image4.jpg

Version of powershell is 5.1

Regards,

Elena

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,482 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP
    2020-04-08T13:51:41+00:00

    QnA currently supports the products listed in right-hand pane (more to be added) Better to reach out to subject matter experts in dedicated forums over here.

    https://social.technet.microsoft.com/Forums/ie/en-US/home?forum=onlineservicesexchange

    https://social.technet.microsoft.com/Forums/windows/en-US/home?forum=winserverpowershell

    (please don't forget to mark helpful replies as answer)

    0 comments No comments