Enterprise Application Certificate Expired

IBeTheBot 0 Reputation points
2023-07-14T22:41:00.1033333+00:00

Hi All,

I have an enterprise application where there certificate has expired and looking for the solution to renew it.

When I go to Token Encryption I get an error saying the following:

"Token encryption is not available for this application. (App Name) is owned by another organization.

To change token encryption settings for this application, please contact the application owner."

Thoughts?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 20,906 Reputation points Microsoft Employee Moderator
    2023-07-17T09:32:27.6366667+00:00

    @IBeTheBot

    Looks like the application for which you are trying to renew the encryption certificate is a multi-tenant application.

    It means this application in registered in another tenant and your only have a service principal which is created in your tenant for this application.

    For, multi-tenant applications, the certificates has to be update on the tenant where it is initially registered.

    To know in which tenant the actual application registered for corresponding service principal, you can follow below steps,

    • Open Windows PowerShell as Administrator.
    • Run command "Connect-AzureAD"
    • Enter the global admin credentials of your tenant.
    • Now run command " Get-AzureADServicePrincipal -ObjectId "<Object ID of service principal (app under enterprise application)>" | fl"
    • In the output you can look for AppOwnerTenantId parameter.

    The tenant ID that you see in above result is the tenant where your application is registered.

    Token encryption key has to be updated in that tenant directory.

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.