Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

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

(0) ShareShare
ReportReport
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

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans