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 :
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

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans