how to change a client secret key of an app with app id "X" but cant find in azure.

Zael Leonhart 0 Reputation points
2024-11-07T01:09:28.4266667+00:00

Exception : Mailbox Configuration Validation Failed. MsalServiceException occured: A configuration issue is preventing authentication - check the error message from the server for details. You can modify the configuration in the application registration portal. See https://aka.ms/msal-net-invalid-client for details. Original exception: AADSTS7000222: The provided client secret keys for app 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 8513438d-c530-40e8-9810-9e6a150a4b00 Correlation ID: 10b8d657-6a84-4bd9-9e3c-fbd53788f832

Hope. I didn't posted a same question. May I ask how to change "AADSTS7000222: The provided client secret keys for app 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' are expired. "to this specific app that when I search in azure I can't find. Btw, the app is more likely related to email server profile.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,313 questions
Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,576 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,669 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,135 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mengying Li (Shanghai Wicresoft Co Ltd) 5 Reputation points Microsoft Vendor
    2024-11-07T09:28:12.04+00:00

    Hi, @Zael Leonhart

    Thank you for posting your question in the Microsoft Q&A forum.

    According to your description, you are getting the error AADSTS7000222: The client secret provided for application 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' has expired, but the application with application ID X cannot be found in Azure. You can try the following steps to find the client ID:

    1. Try to get the JWT token by looking in the browser local cache or session.
    2. Find iss in the JWT token, which is the client ID.

    Then create a new client secret in the Azure portal by following the steps below:

    1. Go to the search bar at the top and look for "app registration". As shown in the screenshot: 图像
    2. On the "App registrations" page based on the client ID, select the app that needs to be updated (there may be an "expired" label). As shown in the screenshot: 图像
    3. Go to "Certificates and Secrets". As shown in the screenshot: 图像
    4. Click "New client secret".

    If you have any questions, please feel free to contact me. If the answer is helpful, please click "Accept Answer" because it can help other members of the Microsoft Q&A community who are experiencing similar problems and are looking for solutions. Thank you.

     

    Best,

    Jeanne

    0 comments No comments

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.