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,961 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,688 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,643 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans