Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Error: http request is unauthorized with client authentication scheme 'anonymous'

Posted on by 360

Hi All,

We are facing very strange issue while connecting to CRM from Azure Function. Basically, we are trying to create data in CRM using Azure Function, but when record creation counts is more than 15 thousand then somehow we are experiencing below error.

'The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=login.microsoftonline.com/.../authorize, resource_id=xxxx.crm.dynamics.com/'.'

Any threads to resolve this issue would really appreciated.

Thanks,

Mugdha

Categories:
  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,962 Moderator on at
    RE: Error: http request is unauthorized with client authentication scheme 'anonymous'

    Hi,

    It seems CRM token is getting expired.

    You will need refresh token for every request.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans