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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Not able to connect to on-premise Dynamics 365 from within WCF Service hosted in IIS on same server

(0) ShareShare
ReportReport
Posted on by 132

Hi,

I am facing issue while connecting to on-premise Dynamics 365 using CrmServiceClient(AD authentication) from WCF(http) service which is hosted on same app server. 

When I tried to debug it, serviceproxy is giving null value from the WCF service, however when I executed same connection method in console application, it is working fine.

Is there any additional configuration required in IIS for WCF web service so that it will consider AD authentication(windows)?

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Can you please provide a connection string that you use to connect to Dynamics instance in the code of your WCF Service?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 96

#2
11manish Profile Picture

11manish 88 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 84

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans