Developer forum

Forum » Integration » Integration with D365 and Dynamicweb

Integration with D365 and Dynamicweb

Tin Ma Ma
Reply

Hi All,

Can someone share the knowledge about integration with D365 and Dynamicweb?
I faced the problem 

System.ArgumentException: Authority validation is not supported for this type of authority
Parameter name: validateAuthority


Thanks and Regards,

Tin Ma Ma

Image_3.png

Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Hi Tin Ma Ma,

Did you configure the connector as described in the documentation? Make sure that the URL in the ActiveDirectoryTenant setting is correct.
https://doc.dynamicweb.com/documentation-9/integration/integration-framework-2/testtool-connector-service#6930

You should have a value in ActiveDirectoryTenant which is similar to this...

https://login.windows.net/{tenant}

or this...

https://login.microsoftonline.com/{tenant}

Where tenant is the company specific tenant name registered in Azure, e.g. companyname.onmicrosoft.com, so the value would look similar to this: https://login.microsoftonline.com/companyname.onmicrosoft.com

 

Best regards,
Morten

 
Tin Ma Ma
Reply

Dear Morten,

Thank you for your advice.
We are using D365 on-premise.can we use testtool to test D365 connection?

Regards,

Tin Ma Ma

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

I'm not sure if the D365 connector supports on-premise installations. I will have to check up on that.

Are you able to log on to the D365 on-premise installation directly (in your browser) using Azure AD credentials?

​Can you share the values you have in the ActiveDirectoryTenant and ActiveDirectoryResource settings in app.config file for the test tool?

 
Tin Ma Ma
Reply

Dear Morten,

We can connect by using  C# code.
Can I share the values via email? please give me your email address.

Regards,

Tin Ma Ma

 

 

You must be logged in to post in the forum