Skip to main content

Create a client secret in Microsoft Entra ID

1

Sign in to the Azure portal

Sign in to the Azure portal as an admin.
2

Select a tenant

If you have access to multiple tenants, use the Directory + subscription filter in the top menu to select the tenant in which you want to register an application.
3

Select Microsoft Entra ID

Search for and select Microsoft Entra ID.
4

Navigate to New registrations

Under Manage, select App registrations > New registrations.
5

Register an application

In the Register an application window, enter the app name, and then select Register.
6

Select name and type

Specify the name and select the supported account types.
7

Copy the Application (client) ID

Copy and make a note of the Application (client) ID. This value is required for authentication.
8

Create a client secret

  1. Under Manage, select Certificates & secrets > New client secret.
OIDC Client secret
  1. Enter a client secret description and an expiry time, and then select Add.
9

Copy the client secret

Copy and make a note of the client secret in the Value field.
Make sure you copy this value now. This value will be hidden after you leave this page.

Add the service principal to a CDF group

You need to link your newly created app in Microsoft Entra ID to a group in CDF. For more information, see Create a group in CDF and link it to Microsoft Entra ID group.
1

Navigate to Microsoft Entra ID group

To add the service principal, navigate to your Microsoft Entra ID group.
2

Navigate to Add members

Under Manage, select Members > Add members.
Add members to group
3

Add members

Search for your service principal in the search box and Select.
Add service principal
4

Verify members added

Verify that the service principal is added to your Microsoft Entra ID group.The service principal, as a member of the Microsoft Entra ID group, is automatically a member of the linked CDF group with the associated capabilities.
For more information on service principals, see How to create a service principal.