# User administration - Azure # Register Entra application Basic application setup
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/aO5image.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/aO5image.png) Create a new application and allow Web URL of http://localhost
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/W1eimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/W1eimage.png) Record Application (client) ID and Directory (tenant) ID for future use. Click Add a certificate or secret
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/Jbqimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/Jbqimage.png) Click new secret, and create an entry with required duration and name
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/QkOimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/QkOimage.png) Copy the value.

NOTE: you cannot view this value again.

### Allow groups for authentication restrictions
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/hUvimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/hUvimage.png) To access group details the API needs Group.Read.All application permission
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/x3Ximage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/x3Ximage.png) Select Microsoft Graph
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/CZwimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/CZwimage.png) Select delegated permissions and search for group to add Group.Read.All
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/1vgimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/1vgimage.png) Confirm admin consent
# Update global settings You will need the Azure clientid, applicationid and secret from the [Azure Application](https://help.abitsystems.com.au/books/service-scheduler-administration-guide/page/register-entra-application "Register application")
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/m91image.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/m91image.png) Start the Service Scheduler Install / Upgrade wizard on the server
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/km4image.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/km4image.png) Click next until the Account Settings page and select "Global"
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/Whrimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/Whrimage.png) Set sso\_entra\_enabled to 1 Add the azure application details to appropriate value clientid, secret and tenantid
### Stop service scheduler for prompting for account on login
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/KZpimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/KZpimage.png) To stop the prompt adjust global setting sso\_entra\_authorize\_endpoint
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/bzrimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/bzrimage.png) [https://login.microsoftonline.com/%tenantid%/oauth2/v2.0/authorize?client\_id=%clientid%&response\_type=code&redirect\_uri=%redirect\_uri%&response\_mode=query&scope=%scope%&prompt=select\_account](https://login.microsoftonline.com/%tenantid%/oauth2/v2.0/authorize?client_id=%clientid%&response_type=code&redirect_uri=%redirect_uri%&response_mode=query&scope=%scope%&prompt=select_account) Remove the &prompt=select\_account to disable.
# Limit access to groups / UPN

For groups to work the Microsoft Entra application will need [Group.Read.All](https://help.abitsystems.com.au/books/service-scheduler-administration-guide/page/register-entra-application "Register Entra application") permission

[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/dElimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/dElimage.png) Start the Service Scheduler install and upgrade wizard
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/9bFimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/9bFimage.png) Select settings
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/djPimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/djPimage.png) Locate the settings sso\_entra\_allow\_groups and sso\_allow\_upn\_suffix
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/Vu9image.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/Vu9image.png) To limit access to certain group, add the group names separated by the ";" character.
[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/nT6image.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/nT6image.png) To limit to user UPN suffix enter the userPrincipalName suffix