Note: the client secret value is only available to copy at the time of generation. You cannot retrieve it at a later time, so save this value somewhere safe.
- Open Microsoft Entra.
- Go to the Owned applications tab of the App registrations page and click the name of your application.
- Click Certificates & secrets in the side toolbar.
- On the Client secrets tab, click ➕New client secret.
- Enter a description for the client secret that will remind people what it’s used for.
For example, Office 365 Secret. - Select the maximum client secret time allowed by your organisation’s policies.
- Click Add.
Entra will display the new secret in the Client secrets tab. - Click the copy icon next to the Value for the secret you just created.