Access token generation problem

Ashok U 20 Reputation points
2024-11-29T09:30:24.31+00:00

we are trying to integrate one drive in our salesforce platform so that we have purchased trail pack for development purpose and registeres app in the zure portal to get the client id and secret and also having the subscription id using these credentials we are tried to communicate with the one drive by post man and also tried with salesforce that time it's worked fine without issue but after a day while try to generate a access token im getting this error like "AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'. Trace ID: 7dd4b67c-104f-4499-b03d-ef4a72920d01 Correlation ID: 5dbede9f-951a-402d-8ca0-020eb25ea027 Timestamp: 2024-11-29 09:01:35Z","error_codes": [50076] how to resolve this issue

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
8,448 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,360 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,322 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,417 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,847 questions
0 comments No comments
{count} votes

Accepted answer
  1. Goutam Pratti 2,480 Reputation points Microsoft External Staff
    2024-12-02T07:10:01.19+00:00

    Hello @Ashok U :) ,

    Thank you for reaching out Microsoft Q&A.

    It seems you are encountering the error AADSTS50076: "Due to a configuration change made by your administrator or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'."To address this issue, you can use any of the following solutions:1. Disable MFA for the affected user account.

    1. If a Conditional Access Policy is enforcing MFA, exclude the user from that policy.
    2. Please sign in to Microsoft Entra portal using Authentication Administrator(Least Privileged role) or with Global Administrator(Highest Privileged role) in the affected user's tenant and go to Microsoft Entra ID -> Users -> Select the affected User -> Go to Authentication Methods -> Select Revoke Multi factor Authentication Sessions to revoke the user's MFA settings and check the behavior.

    Reference Thread : https://learn.microsoft.com/en-us/answers/questions/1337701/aadsts50076-due-to-a-configuration-change-made-by

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    Regards,
    Goutam Pratti.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.