> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/backup4dynamics/set-up-security.md).

# Set Up Security

Backup4Dynamics requires different roles at different stages — some are needed only once during setup, one is needed temporarily while configuring the solution, and others are needed on an ongoing basis to use the product. Below is a breakdown of each role and what it enables.

#### Global Administrator

The **Global Administrator** role (or an equivalent Microsoft Entra ID role) is required only during the initial setup of Backup4Dynamics. This role is used to grant admin consent for the managed application and to complete the application setup. Once setup is complete, this role is no longer required.

#### System Administrator

The **System Administrator** role in the D365 CRM environment is required while configuring the Backup Schedule and selecting entities for backup.

#### Backup4Dynamics Administrator

The **Backup4Dynamics Administrator** role is required on an ongoing basis for all users who will operate Backup4Dynamics day-to-day. A user with this role can register the license, run backups, perform restore operations, monitor backup and restore runs, and review backup history. This role also grants organization-level access to all entities of Backup4Dynamics.

#### Azure Subscription Access

In addition to the D365 CRM roles above, users must have **Owner** or **Contributor** access on the Azure subscription at all times in order to perform Backup4Dynamics operations. Unlike the Global Administrator and System Administrator roles, this is not limited to setup — it must be maintained on an ongoing basis for the solution to function correctly.

Here are the steps to assign security roles to CRM users:

* Go to **Advanced Settings** → **System** → **Security** → **Users**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FqpFu7jDHfVBhkSNKV5Kb%2Fimage.png?alt=media&amp;token=1a835aa1-44ce-4946-bf5e-40c5fbd1012d" alt=""><figcaption></figcaption></figure>

* Select **user** → **Manage security roles**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FBw1ggxvb8o3dJ8qgUaC4%2Fimage.png?alt=media&amp;token=d96691d5-2c20-4e82-9c99-291a92ba5d03" alt=""><figcaption></figcaption></figure>

* Click on Backup4Dynamics Administrator Security Role --> Click Save.&#x20;

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FCBm7AmwlC8iEVWjYzSKf%2Fimage.png?alt=media&amp;token=e6d8ad06-f4d2-4509-994a-17cd00029d1c" alt=""><figcaption></figcaption></figure>

#### Using Classic UI <a href="#using-classic-ui" id="using-classic-ui"></a>

Here are the steps to assign a security role to users.

* Go to **Advanced Settings** --> **Settings** --> **Security**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F49ah7SlkrNq718ecwnKP%2Fimage.png?alt=media&amp;token=dd0ba458-df61-4bad-a745-bd7846402f24" alt=""><figcaption></figcaption></figure>

* Select **Users.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F7MtIcKRXPtBFL1btcIQq%2Fimage.png?alt=media&amp;token=2df0e386-082f-4579-a514-df9a8fbbd75a" alt=""><figcaption></figcaption></figure>

* Select a user --> Click on **Manage Roles.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FkkKY4U0PdKaOuVLJWCuk%2Fimage.png?alt=media&amp;token=6e3b18bd-b8f7-4441-9ebc-c66a84c67005" alt=""><figcaption></figcaption></figure>

* Click on Backup4Dynamics Administrator security role --> Click **Ok**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FKuE0nP5H9GtQ1D2oyheF%2Fimage.png?alt=media&amp;token=e7124e20-60ad-47f7-bc84-2aad0594dc53" alt=""><figcaption></figcaption></figure>
