Update Entra ID Secret
To update the Entra ID secret, we need to create a new secret in the Inforiver Entra ID application.
Steps to Create Secret in Inforiver Entra ID App
Select the Inforiver App Registration.

Go to the Certificates & secrets menu and then click New client secret.

Add 'O365_APP_SECRET_ID' as a client secret and set its expiration as well. Click Add.

The client secret is added, as shown below:

Methods To Update Entra ID Secret
Direct Update in Azure App Service
Update via Azure Key Vault
1. Direct Update in App Service Environment Variables
Select the App Service.
In the left-side menu, click Environment variables.
Select 'O365_APP_SECRET_ID'. Click the Edit icon to edit.

Enter the client secret in the Value field.

Click Apply to save the changes.
2. Update the Entra ID Secret in Azure Key Vault
Prerequisites
Azure Roles:
You must have the Contributor role for the App Service to restart the App Service.
You must have the Contributor role for the key vault to change the network settings of the key vault.
To view and modify the Secrets of the Key Vault, you need to check the Access Configuration of the Key Vault under the Settings section:

If the Access configuration is Azure role-based access control, proceed with and complete all the steps mentioned in Option 1 that follows:
Option 1: Assign Key Vault Administrator Role through RBAC
Go to Access control (IAM). Click on Add and choose Add role assignment in the drop-down menu.

Under the Job function roles, choose Key Vault Administrator and click Next.

Under the Members Tab, choose Assign access to User, group or service principal and click on + Select members. In the Select members tab, enter your email and click Select. After completing these steps, Click Next.

Verify your role assignment and Click Review + assign.

If the Access configuration is Vault access policy, proceed with and complete all the steps mentioned in Option 2.

Option 2: Vault access policy
Go to Access policies and click on Create to create an access policy for the user.

In the Permissions tab, click on Select all to select all permissions under Secret permissions. Ensure all of them are selected. Then, click Next.

In the Principal tab, enter the user email and verify that it is available under Selected item. Click Next.

In the Application tab, keep the default settings, and then select Next.

In the Review + create tab, verify that all Secret Management Operations permissions are selected, and then click Create.

Step 1: Turn on Public Access to Key Vault (Temporary)
Go to the Azure Portal.
Navigate to your Key Vault.
In the left pane, select Networking in the Settings section.
Under Firewalls and virtual networks, switch from 'Disable public access' to 'Allow public access from specific virtual networks and IP addresses'.

Click on Add your client IP address and click Apply.

Open a browser and search “What is my IP” to get your IP address.

Copy the IP address and enter the value into the 'IP address or CIDR' block and click Apply.

Step 2: Update the Client Secret in Azure Key Vault
Go to the Secrets section under the Objects menu in the Key Vault.

Click on aadAppSecret.

Click + New Version.

Enter your client secret into the Secret value field and click Create.

Step 3: Ensure App Service Picks Up the New Secret
Go to the Environment variables section in the App Service. Click on Pull reference values to pull the latest values from the key vault secret.

2. Click Confirm.

Step 4: Revert Key Vault to Private Access
Go back to Key Vault’s Networking section, select Disable public access, and then click Apply.

Last updated
Was this helpful?