We are working hard to make updates to the Shop and Account Management portal.

Please note that many of these changes will roll out this Saturday, June 1st and will require downtime. We are working to ensure minimal disruption for our eOne community and really appreciate your patience as we push out these changes. Please reach out to sales@eonesolutions.com with any questions.

Connecting to Dynamics 365 Finance using an OAuth Token

Connecting to Dynamics 365 Finance using an OAuth Token

Dynamics 365 Finance and Operations connections require using OAuth. Follow the steps below to setup an OAuth token.

Setting up the application in Azure:
  1. Navigate to portal.azure.com
  2. Search for App registrations in the top search bar and select App registrations.
  3. Click New Registration and enter a name for the application.
  4. Choose the appropriate Supported Account Type, most companies will use “Accounts in this organizational directory only”.
  5. For the Redirect URI, choose Web and enter the correct URL based on deployment/region:
  • This is specific to your SmartConnect region, so it will vary slightly depending on that.  When setting up a Dynamics 365 Finance and Operations connection, the redirect URL will be displayed in the connection window.

  1. Click Register.
  2. Click “Certificates & secrets” in the navigation on the left.
  3. Click “New client secret”.
  4. Give the secret a description and choose how long you want the secret to last.  It is important to note that when the secret expires any connections using this secret will no longer connect successfully until a new secret is generated and used in the connection. Make sure to have a process in place for someone to create another secret and update any SmartConnect connections prior to the secret expiring in the future.

  1. Click Add to generate the new secret. Copy and save the Value somewhere as it will not be fully visible again once you navigate away from the Azure Portal.

  1. Click on “API Permission” in the navigation bar on the left.
  2. Click “Add a permission” and choose Dynamics ERP.
  3. Select Delegated permission if it is not already and enable AX.FullAccess, CustomerService.FullAccess, and Odata.FullAccess and click Add permissions.

  1. Click on Overview in the navigation bar on the left.
  2. Copy and save the “Application (client) ID” value.
  3. With the Application ID and the Secret Value copied and saved from the application setup, the Azure Active Directory Application can be setup within Finance and Operations.

Setting up Azure Active Directory Application in Finance and Operations:
  1. Login to Finance and Operations and Navigate to Azure Active Directory Applications.
  2. Enter the Client Id from the Azure App registration.
  3. Enter a name for the Azure Active Directory application.
  4. Select an appropriate service account user ID. For this example, we have selected the Admin However, as a better practice, you should provision a dedicated service account that has the correct permissions for the operations that must be performed.
  5. Click Save.

Setting up the connector in SmartConnect:
  1. Login to login.smartconnect.com if not already.
  2. Navigate to Connections and click the Create Connection button.
  3. Select Dynamics Finance and Operations.
  4. Enter a description for the connector.
  5. Enter your Site Uri – this will be the base URL (ie. https://<<yourinstance>>.cloudax.dynamics.com).
  6. Enter the same Application Id (Client ID) from the application that was registered in the Azure portal. It can be found on the Overview page in Azure Portal.
  7. Enter the Client Secret value from the application, if the secret value was not saved when registering the application then a new secret and value will need to be created.

  1. Click Validate.  This will start the OAuth process and you will be directed to a Microsoft login if not already logged in.  If you were still logged in, you will be asked to grant permissions.  Click accept to grant the permissions.  If your user does not have the proper permissions, you will need to have an admin user grant the permissions.
  • Note: It is important for the browser to prompt for credentials at this time. If the browser automatically signs the user in, it may not be the correct account authorizing the application.

  1. After successful validating you will be redirected back to the Finance and Operations connector and can now choose your company.
  • Default company is the company that SmartConnect will use as the default.
  • System Company is the default company for the authenticated user within Finance and Operations.  This is an information only field.
  1. After successfully completing the validation and access steps, you can now save the connector.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

Reset Filters