I have an application registered in the Azure Portal that has been converted into an Enterprise application. The client secret for this application has expired, and I need to update it. However, since it has become an Enterprise application, I'm unable to find the option to perform this action.
Question:
How can I update the expired client secret for an Enterprise application?
Note that: The app registration of the Microsoft Entra ID application resides in the tenant where the application is created.
I created a Microsoft Entra application in TenantA
:
In another tenant when user sign-ins or creates service principal manually, the service principal of the application gets created:
When searched in TenantB
, with the application name I got the service principal same as you:
Hence to know which tenant the application multi-tenant application is registered; you can use the below command:
Get-AzADServicePrincipal -ApplicationId "AppID" | ConvertTo-Json -Depth 5
AppOwnerOrganizationId
which is the service principal app home tenant.To update the client secret, check the home tenant of the service principal and login to the home tenant and update.