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,...
Suggested Answer

dynamics v8 ADFS server settings

(0) ShareShare
ReportReport
Posted on by
hi all, for dynamics version 8 on-prem solution with ADFS authentication server set up ; how  I can find out clinet_id and client_secret and then access web api  using a http client .
 
I've tried http client with default credentials and network credentials with active directory user with domain and connection failed and  return Unauthorized .
 
 
I have seen some articles where we need to generate oauth token using ADFS token end point. how do I find these data.
 
any ideas 
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    We have analyzed your needs and here is some of the information we have found to help you solve your problem.
    1. The article at this link is a step-by-step approach to connecting to D365 to use the API client_secret.
    https://dynamics-chronicles.com/article/step-step-connect-d365-clientsecret-use-apis
     
    2. The official documentation at the following link provides a way to request an access token.
    https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/overview/ad-fs-openid-connect-oauth-flows-scenarios#request-id-token-and-access-token
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
  • Suggested answer
    PhilipK Profile Picture
    613 on at
    Hi.

    On the ADFS server you need to configure an Application group against your environments Dynamics 365 API, which you will find under "Settings - Customizations - Resources for developers.
    In ADFS you create your resource with the identifier of your WebAPI url(from above) within the Application group setup in ADFS.
    In this process would create a "Server application" from where you will generate the clientid along with the client secret.
    You will also need to configure your claims issuance rules for that application group(e.g. UPN, PrimarySID, Windows account name to name such..) which would be the same as your relying party, if configured.
    Make sure you have enabled OAuth for your D365 installation according to the following article.
    You would then configure your app with the identifier(API url) along with the clientid and client secret you configured with your application group.


    Best regards.
    Philip

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 119

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans