web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Error AADSTS7000215: Invalid client secret is provided when configuring certificate in a Key Vault

(0) ShareShare
ReportReport
Posted on by 60

Hello community, 
I'm working with a mexican client who needs to enable de CFDI feature (e-invoicing).
One of the mandatory requirements is to install a certificate.pfx protected with password and configure it in dynamics through a Key Vault in AAD, i tried to follow all the steps published in MSDN documentation, but i'm not able to finish.
Steps followed were:
1.-Create a Key Vault
2.-Upload the pfx certificate in the Key Vault
3.-Register an App (for authentication purpose)
4.-Add an Access Policy to the Key Vault and select the application created in step 3.

Then, i configured the information in Key Vault Parameters (D365)

pastedimage1616643957205v2.png

Key Vault is the url shown in my Key Vault overview, Key Vault Client is my Application (client) ID, the Key Vault Secret Key is the pfx password.

But, when i try to validate, this error message is shown:

pastedimage1616644247547v3.png

Can anyone help me?

Thank you!

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi cyberzamora,

    Please try regenerating the secret.

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans