question

edpetrova-0476 avatar image
0 Votes"
edpetrova-0476 asked DSPatrick answered

Not able to execute New-ApplicationAccessPolicy in Powershell

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://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:

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-supported
image1.jpg (17.7 KiB)
image2.jpg (43.0 KiB)
image3.jpg (117.5 KiB)
image4.jpg (97.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
0 Votes"
DSPatrick answered

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)


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.