Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Dynamics 365 on-premises IFD PROBLEM authentification by C#

Posted on by 87

Hi,

I am trying to use CRM WEB API by using HttpWebRequest. when using external crm address org.domain.com/.../v8.2..., iltwill throw 401 error, but when using internal address servername/.../v8.2, it works well.

Is it normal? we would like to build an middle WEB API which will be called by mobile phone app and which will call the CRM WEB API to do CRUD operations.

thanks

Song

  • Suggested answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Dynamics 365 on-premises IFD PROBLEM authentification by C#

    Hi

    Make sure both addresses are trusted by your ADFS

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 on-premises IFD PROBLEM authentification by C#

    Hi Song,

    The CRM you are using is a On-Premise or Hosted Application?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 on-premises IFD PROBLEM authentification by C#

    Hi Song,

    I have a solution for this. revert back on this if you still need this.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans