---
title: How can I restrict DatabeatOMNI's application permissions to my Microsoft 365 resources mailbox?
description: Using PowerShell Online Exchange, you can restrict OMNI's application permissions with one simple command.
---

[Skip to content](https://support.databeat.net/en/how-can-i-define-mailbox-access-policy-for-omni#main-content)

English

Show submenu for translations

![Databeatomni](https://support.databeat.net/hs-fs/hubfs/LogoIcons/Logo%20-%20Databeat%20and%20Samsung/Databeatomni.jpg?width=1920&height=319&name=Databeatomni.jpg)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- Contact us

 Contact us

 Knowledge base

- There are no suggestions because the search field is empty.

1. [Databeat Knowledge base](https://support.databeat.net/en?hsLang=en)
2. [Databeat Doorsign](https://support.databeat.net/en/databeat-doorsign?hsLang=en)
3. [Setup & Configure](https://support.databeat.net/en/databeat-doorsign?hsLang=en#setup-configure)

# How can I restrict DatabeatOMNI's application permissions to my Microsoft 365 resources mailbox?

## Using PowerShell Online Exchange, you can restrict OMNI's application permissions with one simple command.

In PowerShell Online Exchange, it is possible to create a policy using this command:  
*New-ApplicationAccessPolicy -AppId \[DatabeatOMNI Business AppID found in AAD\] -PolicyScopeGroupId \[[groupname@tenant.com](mailto:groupname@tenant.com)\] -AccessRight RestrictAccess -Description "Restrict read scope for DatabeatOMNI"*

If you wish to test OMNI's application permissions, there is a simple command which will return "Denied" or "Granted" based on application permission in Azure Active Directory:  
*Test-ApplicationAccessPolicy -Identity \[[Resource@tenant.com](mailto:RestrictedResource@tenant.com)\] -AppID \[DatabeatOMNI Business AppID found in AAD\]*

 

Below, I will explain how to do so in simple steps:

1. Connect to Exchange Online Powershell, for details about how to do this, take a look at Microsoft's guide on [Connect to Exchange Online Powershell](https://learn.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps&preserve-view=true).
2. Identify the app's client ID and a mail-enabled security group to restrict the app's access to. 
     1. Identify the app's application (client) ID in the Azure App registration portal.
     2. Create a new mail-enabled security group or use an existing one and identify the email address for the group.
3. Create an application access policy by running the following command, replacing the arguments for **AppId**, **PolicyScopeGroupId** and **Description**.  
   *New-ApplicationAccessPolicy -AppId e7e4dbfc-046f-4074-9b3b-2ae8f144f59b -PolicyScopeGroupId EvenUsers@contoso.com -AccessRight RestrictAccess -Description "Restrict this app to members of distribution group EvenUsers."*
4. Test the newly created application access policy by running the following command, replacing the arguments for **Identity** and **AppId**.  
   *Test-ApplicationAccessPolicy -Identity user1@contoso.com -AppId e7e4dbfc-046-4074-9b3b-2ae8f144f59b*

**Note:** Changes to application access policies can take longer than 1 hour to take effect in Microsoft Graph REST API calls, even when Test-ApplicationAccessPolicy shows positive results.

 

If you wish to learn more about restricting access through access policies, head over to [Microsoft's documentation](https://learn.microsoft.com/en-us/graph/auth-limit-mailbox-access). 

 

- [Databeat Signage](https://support.databeat.net/en/databeat-signage?hsLang=en#main-content)

    - [FAQ](https://support.databeat.net/en/databeat-signage?hsLang=en#faq)
    - [Getting Started](https://support.databeat.net/en/databeat-signage?hsLang=en#getting-started)
    - [Media](https://support.databeat.net/en/databeat-signage?hsLang=en#media)
    - [Locations](https://support.databeat.net/en/databeat-signage?hsLang=en#locations)
    - [Users](https://support.databeat.net/en/databeat-signage?hsLang=en#users)
    - [Screen Designer](https://support.databeat.net/en/databeat-signage?hsLang=en#screen-designer)
    - [Other](https://support.databeat.net/en/databeat-signage?hsLang=en#other)
- [Databeat Doorsign](https://support.databeat.net/en/databeat-doorsign?hsLang=en#main-content)

    - [Getting Started](https://support.databeat.net/en/databeat-doorsign?hsLang=en#getting-started)
    - [Setup & Configure](https://support.databeat.net/en/databeat-doorsign?hsLang=en#setup-configure)
    - [Databeat Overview](https://support.databeat.net/en/databeat-doorsign?hsLang=en#databeat-overview)
    - [Microsoft 365](https://support.databeat.net/en/databeat-doorsign?hsLang=en#microsoft-365)
    - [Google Workspace](https://support.databeat.net/en/databeat-doorsign?hsLang=en#google-workspace)
    - [Templates and design](https://support.databeat.net/en/databeat-doorsign?hsLang=en#templates-and-design)
    - [Troubleshooting](https://support.databeat.net/en/databeat-doorsign?hsLang=en#troubleshooting)
    - [FAQ](https://support.databeat.net/en/databeat-doorsign?hsLang=en#faq)
- [Databeat Booking](https://support.databeat.net/en/databeat-booking?hsLang=en#main-content)

    - [FAQ](https://support.databeat.net/en/databeat-booking?hsLang=en#faq)
    - [Getting started](https://support.databeat.net/en/databeat-booking?hsLang=en#getting-started)
    - [Troubleshoot](https://support.databeat.net/en/databeat-booking?hsLang=en#troubleshoot)
- [DatabeatOMNI](https://support.databeat.net/en/databeatomni?hsLang=en#main-content)

    - [About DatabeatOMNI](https://support.databeat.net/en/databeatomni?hsLang=en#about-databeatomni)
    - [OMNIplayer](https://support.databeat.net/en/databeatomni?hsLang=en#omniplayer)
    - [Databeat Server](https://support.databeat.net/en/databeatomni?hsLang=en#databeat-server)
- [OMNIplay](https://support.databeat.net/en/omniplay?hsLang=en#main-content)

    - [About OMNIplay](https://support.databeat.net/en/omniplay?hsLang=en#about-omniplay)
    - [Install & configure](https://support.databeat.net/en/omniplay?hsLang=en#install-configure)
    - [Network](https://support.databeat.net/en/omniplay?hsLang=en#network)
    - [License key](https://support.databeat.net/en/omniplay?hsLang=en#license-key)
    - [Remote control](https://support.databeat.net/en/omniplay?hsLang=en#remote-control)
    - [Troubleshooting](https://support.databeat.net/en/omniplay?hsLang=en#troubleshooting)
- [OMNIcast](https://support.databeat.net/en/omnicast?hsLang=en#main-content)

    - [About OMNIcast](https://support.databeat.net/en/omnicast?hsLang=en#about-omnicast)
    - [Setup & configure](https://support.databeat.net/en/omnicast?hsLang=en#setup-configure)
    - [Install](https://support.databeat.net/en/omnicast?hsLang=en#install)
- [Integrations](https://support.databeat.net/en/integrations?hsLang=en#main-content)

    - [PowerPoint Publisher](https://support.databeat.net/en/integrations?hsLang=en#powerpoint-publisher)
    - [Power BI](https://support.databeat.net/en/integrations?hsLang=en#power-bi)
    - [Webpages](https://support.databeat.net/en/integrations?hsLang=en#webpages)
    - [Microsoft](https://support.databeat.net/en/integrations?hsLang=en#microsoft)
- [Subscription & Billing](https://support.databeat.net/en/subscription-billing?hsLang=en#main-content)

    - [OMNIstore](https://support.databeat.net/en/subscription-billing?hsLang=en#omnistore)
    - [Products & Prices](https://support.databeat.net/en/subscription-billing?hsLang=en#products-prices)
    - [Subscription](https://support.databeat.net/en/subscription-billing?hsLang=en#subscription)
- [Databeat Hardware](https://support.databeat.net/en/databeat-hardware?hsLang=en#main-content)

    - [OMNIplay3](https://support.databeat.net/en/databeat-hardware?hsLang=en#omniplay3)
    - [OMNIplay4](https://support.databeat.net/en/databeat-hardware?hsLang=en#omniplay4)
    - [OMNIplay3v7](https://support.databeat.net/en/databeat-hardware?hsLang=en#omniplay3v7)
    - [DS10 / DS10+](https://support.databeat.net/en/databeat-hardware?hsLang=en#ds10-ds10)
    - [DS13 / DS13+](https://support.databeat.net/en/databeat-hardware?hsLang=en#ds13-ds13)
    - [T22 / T22BR](https://support.databeat.net/en/databeat-hardware?hsLang=en#t22-t22br)
    - [OMNIpower](https://support.databeat.net/en/databeat-hardware?hsLang=en#omnipower)
- [Samsung](https://support.databeat.net/en/samsung?hsLang=en#main-content)

    - [OMNIplay for Samsung](https://support.databeat.net/en/samsung?hsLang=en#omniplay-for-samsung)
    - [Install](https://support.databeat.net/en/samsung?hsLang=en#install)
    - [Troubleshoot](https://support.databeat.net/en/samsung?hsLang=en#troubleshoot)
    - [Factory reset](https://support.databeat.net/en/samsung?hsLang=en#factory-reset)
    - [Uninstall](https://support.databeat.net/en/samsung?hsLang=en#uninstall)
- [LG](https://support.databeat.net/en/lg?hsLang=en#main-content)

    - [OMNIplay for LG](https://support.databeat.net/en/lg?hsLang=en#omniplay-for-lg)
    - [Install](https://support.databeat.net/en/lg?hsLang=en#install)
    - [Troubleshoot](https://support.databeat.net/en/lg?hsLang=en#troubleshoot)
    - [Factory reset](https://support.databeat.net/en/lg?hsLang=en#factory-reset)
- [Philips](https://support.databeat.net/en/philips?hsLang=en#main-content)

    - [Install](https://support.databeat.net/en/philips?hsLang=en#install)
    - [Troubleshoot](https://support.databeat.net/en/philips?hsLang=en#troubleshoot)
    - [Factory reset](https://support.databeat.net/en/philips?hsLang=en#factory-reset)
- [Windows](https://support.databeat.net/en/windows?hsLang=en#main-content)

    - [Install](https://support.databeat.net/en/windows?hsLang=en#install)
    - [Troubleshoot](https://support.databeat.net/en/windows?hsLang=en#troubleshoot)
- [Android](https://support.databeat.net/en/android?hsLang=en#main-content)

    - [OMNIplay for Android](https://support.databeat.net/en/android?hsLang=en#omniplay-for-android)
    - [Troubleshoot](https://support.databeat.net/en/android?hsLang=en#troubleshoot)
- [AOPEN](https://support.databeat.net/en/aopen?hsLang=en#main-content)

    - [Install](https://support.databeat.net/en/aopen?hsLang=en#install)
- [Hisense](https://support.databeat.net/en/hisense?hsLang=en#main-content)

    - [Install](https://support.databeat.net/en/hisense?hsLang=en#install)
    - [Factory reset](https://support.databeat.net/en/hisense?hsLang=en#factory-reset)
- [Qbic](https://support.databeat.net/en/qbic?hsLang=en#main-content)

    - [Install](https://support.databeat.net/en/qbic?hsLang=en#install)
- [GoaliveTV](https://support.databeat.net/en/goalivetv?hsLang=en)
- [Vestel](https://support.databeat.net/en/vestel?hsLang=en#main-content)

    - [Install](https://support.databeat.net/en/vestel?hsLang=en#install)
    - [Firmware upgrade](https://support.databeat.net/en/vestel?hsLang=en#firmware-upgrade)
- [Databeat Resource Scheduling](https://support.databeat.net/en/databeat-resource-scheduling?hsLang=en#main-content)

    - [Databeat Booking Hub](https://support.databeat.net/en/databeat-resource-scheduling?hsLang=en#databeat-booking-hub)

[![Chill listening crop-3](https://support.databeat.net/hs-fs/hubfs/Databeat_Dark_KB_v2.png?width=131&height=26&name=Databeat_Dark_KB_v2.png "Chill listening crop-3")](https://support.databeat.net?hsLang=en)

Databeat Knowledge base

Copyright © 2026, PLAYipp Norge AS