Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This guide has been reviewed against our global client base and classed as relevant to all regions

...

1. Create application access policy

  • Open PowerShell

  • View > Show scripting pane

  • Create an application access policy as follows (the parameters in red should be amended):
    New-ApplicationAccessPolicy -AppId applicationID -PolicyScopeGroupId smatharu@reapitdev.onmicrosoft.com -AccessRight RestrictAccess -Description "Restricts Reapit to this email address"

  • Application ID can be found on the Overview page of the registered app

  • PolicyScopeGroupId should be changed to the mail address that needs to be restricted

  • Once ran, the following result should be displayed:

!!!!!!!!!!!!!!!SCREENSHOT TOO BLURRY!!!!!!!!!!!!!!!
  • Powershell 1.pngImage Added

2. Test if the policy has been updated

Test if the policy has been updated, by using PowerShell to run the following:

  • Test-ApplicationAccessPolicy -Identity PolicyScopeGroupId -AppId applicationID

    PolicyScopeGroupId should be the email address used above
    AppId is the application ID used above

!!!!!!!!!!!!!!!SCREENSHOT TOO BLURRY!!!!!!!!!!!!!!!Powershell 2.pngImage Added
Tip

If successful, the results should show Granted under Access Check Result

...