CmdID / PowerShell / Cmdlets / New
New-ApplicationAccessPolicy
Use the New-ApplicationAccessPolicy cmdlet to restrict or deny access to a specific set of mailboxes by an application that uses APIs (Outlook REST, Microsoft Graph, or Exchange Web Services (EWS)). Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-AccessRightThe AccessRight parameter specifies the restriction type that you want to assign in the application access policy.-AppIdThe Identity parameter specifies the GUID of the apps to include in the policy.-PolicyScopeGroupIDThe PolicyScopeGroupID parameter specifies the recipient to define in the policy.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DescriptionThe Description parameter specifies a description for the policy.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.