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:
- Try to get the JWT token by looking in the browser local cache or session.
- 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:
- Go to the search bar at the top and look for "app registration". As shown in the screenshot:
- 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:
- Go to "Certificates and Secrets". As shown in the screenshot:
- 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