#1 Global Leader in Data Protection & Ransomware Recovery

Veeam Backup for Microsoft 365: The provided client secret keys are expired.

KB ID: 4152
Product: Veeam Backup for Microsoft Office 365 | 3.0 | 4.0 | 5.0
Veeam Backup for Microsoft 365 | 6.0 | 7.0 | 7a
Published: 2021-04-26
Last Modified: 2022-04-11
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Challenge

Veeam Backup for Microsoft 365 displays one of the following errors:
The provided client secret keys are expired.
Error: AADSTS7000222: The provided client secret keys are expired. Visit the Azure Portal to create new keys for your app, or consider using certificate credentials for added security: https://docs.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentials

Cause

The client secret has expired.

Solution

  1. In a web browser open the Azure Active Directory admin center
  2. Click on "App registrations"
  3. Find the expired App in use by VBO365, note the expired status and the AppID
    (The AppID in use can be determined by Editing the Organization in Veeam Backup for Microsoft 365)
  4. Click on the App "Display Name"
  5. Click on the error about the secret being expired to create a new secret
  6. The web page will switch to the [Certificates & secrets] section
  7. Listed on this page will be the expired Client secret
    (note that you can delete it)
  8. Click [New client secret]
    (Note that you can set the secret to never expire)
  9. After creating the new Client Secret update the Organization settings in Veeam Backup for Microsoft 365.
step1
Note: if you do not see the app in "Owned applications", check in "All applications"
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.