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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

The server has rejected the client credentials ,DocumentService

(0) ShareShare
ReportReport
Posted on by 575

Hi All,

           I am creating a  document service using AIF. while  building my application i am facing server has rejected client credential error.I need to make any changes in app.config file? Please help me on that .Thanks in advance

*This post is locked for comments

I have the same question (0)
  • ShiviG Profile Picture
    on at

    Hello Micheal,

    Can you provide more detail where you are getting this error and when?

  • veera seenivasan Profile Picture
    575 on at

    Hi Samira,

                   I'm going to synchronize Customer groups information with Microsoft Dynamics AX 2012 from external .NET application.

    while debugging i am finding my error scenario here :EntityKey[] entityKey = client.create(context, query, xmlDocument);

  • Verified answer
    ShiviG Profile Picture
    on at

    Are you passing client credentials in AIF service proxy client?

    If yes then please make sure you have windows authentication enabled in IIS site which host the AIF web sites.

    If that does not work then  you can try with these setting inside <binding> tag in web.config of service and config file of the client

    <security mode="Transport">
        <transport clientCredentialType="Windows" proxyCredentialType="None"  realm="" />
        <message clientCredentialType="UserName" algorithmSuite="Default" />
    </security>

    and also in  <endpoint tag you have to add <identity tag like below:

     

    <identity>
        <userPrincipalName value="user@domain" />
     </identity>

    Hope it helps

  • veera seenivasan Profile Picture
    575 on at

    Thank u Samira

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans