to make a connection with ms dynamics 365?

Usha 20 Reputation points
2023-07-03T07:36:22.2733333+00:00

I find the token is null.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,978 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
219 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,256 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,909 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,694 questions
{count} votes

Accepted answer
  1. Ayomide Oluwaga 961 Reputation points
    2023-07-03T10:16:08.1+00:00

    Hello Usha,

    When attempting to connect to Microsoft Dynamics 365, if you receive a null token, there is a problem with the authentication procedure. The following are some potential causes and remedies:

    Check that you submitted the right client credentials (client ID and client secret) when you requested a token.

    The token might have run out of time if it returns null or with an error. Repeat the authentication procedure to request a new token.

    Make sure you're using the appropriate authentication process based on the OAuth 2.0 grant type you choose when registering your application.

    Verify whether the registered application has the right access rights to the Dynamics 365 API.

    Verify that your application can connect to the Dynamics 365 server without being hindered by network or firewall constraints.

    You can also visit the Microsoft documentation

    https://video2.skills-academy.com/en-us/dynamics365/customerengagement/on-premises/developer/overview?view=op-9-1#connect


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.