# Bad request error during a0deploy import regarding enterprise connection

**URL:** <https://community.auth0.com/t/bad-request-error-during-a0deploy-import-regarding-enterprise-connection/72222>\
**Category:** Integration Help\
**Tags:** azure\
**Created:** [October 28, 2021, 3:02am UTC](https://community.auth0.com/t/bad-request-error-during-a0deploy-import-regarding-enterprise-connection/72222 "2021-10-28T03:02:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msuguitan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/msuguitan/32/14222_2.png) [@msuguitan](https://community.auth0.com/u/msuguitan)\
**Post date:** [October 28, 2021, 3:02am UTC](https://community.auth0.com/t/bad-request-error-during-a0deploy-import-regarding-enterprise-connection/72222/1 "2021-10-28T03:02:21Z")

</div>

import to target is partially working.  
Error occurs when I try to import an Azure IDP connection.  
Verified clientID and secret in dashboard is okay.  
What could be the cause of this?

 ![Auth0XAzurePipelinesIssue2](https://global.discourse-cdn.com/auth0/original/3X/9/3/9372a7bda678c9c2d4299718db3235f7137ff473.png)

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 29, 2021, 4:26pm UTC](https://community.auth0.com/t/bad-request-error-during-a0deploy-import-regarding-enterprise-connection/72222/3 "2021-10-29T16:26:51Z")

</div>

Hi @msuguitan,

Thanks for reaching out to the Auth0 Community!

I understand that you’ve been trying to import settings into your tenant and encountered errors with importing a Microsoft Azure AD Connection.

After looking closely at the errors, it appears that your `cprs-azureAD` connection in your _tenant.yaml_ file might be corrupted with missing values.

In this scenario, I recommend taking a close look at your _tenant.yaml_ file and checking that your `cprs-azureAD` connection has configured the `client_id` and `client_secret` fields.

After providing these values to the required properties, you should be able to import the Microsoft Azure AD connection without any problems.

Please let me know if there is anything else I can do to help!

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 13, 2021, 4:27pm UTC](https://community.auth0.com/t/bad-request-error-during-a0deploy-import-regarding-enterprise-connection/72222/4 "2021-11-13T16:27:18Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
