You are on page 1of 10

Work Instruction: EC-0003

App Registration in Azure Portal and Configuration in D365


FO

Fresh Dynamics B.V.


Oudenhof 2f
4191 NW Geldermalsen

Phone: 0345-633788

Email: info@freshdynamics.nl

Copyright © 2020 Fresh Dynamics B.V., Geldermalsen (NL)

Alle rechten voorbehouden. Niets uit deze publicatie mag worden vermenigvuldigd door middel van druk, fotokopie, microfilm,
audiotape, electronisch, mechanisch of enig ander middel, noch mag opslag plaatsvinden in een computersysteem voor
informatieverkrijging, zonder voorafgaande schriftelijke toestemming van de copyright-eigenaar. Aan de organisatie zoals
bovenaan deze pagina genoemd, wordt toegestaan deze publicatie te vermenigvuldigen, maar alleen en uitsluitend voor intern
gebruik in deze organisatie zelf.
Work Instructions Page 2

Report revisions:
Revision Date: Author: Activity:
:
V1.0 13-07-2020 Nitish Dikshit Initial setup

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 3

Contents
Report revisions:....................................................................................................................................2
[App Registration in Azure portal and configuration in D365 FO]......................................................4
Requirement.........................................................................................................................................4
App Registration in Azure portal and D365 FO Solution......................................................................4
Solution (including screen-prints).........................................................................................................4
Step 1 : Create a new Application........................................................................................................4
Step 2: Permissions..........................................................................................................................6

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 4

[App Registration in Azure portal and configuration in D365 FO]

Requirement
App Registration in Azure portal and D365 FO Solution

Solution (including screen-prints)

Step 1 : Create a new Application.


Login to Azure portal using your Office 365 administrator account.
Go to https://portal.azure.com
Select Azure Active Directory
Click on App Registration

Click on New Registration


Give a name to the application.
Supported Account types: Select Accounts in their Organizational directory Only
Redirect URL is not used. Enter any value. I.e https://notused
Click On Register.

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 5

Create a New Secret.

 Click on Certificates and Secrets


 Click On New Client Secret
Enter a description, an expiration date and Click Add

Note the client Secret as it will never be displayed again.

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 6

At this step, the Application is created.

To get your Client ID, go to the Overview section. Your Client ID will be displayed as shown
in the screenshot below:

Step 2: Permissions
 Click On API Permissions
 Click on Add a permission

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 7

Add permission as shown below:

Step 3: Add client Id in D365 FO

Under System- AdministrationAzure Active Directory Application

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 8

Now next step is to configure Fresh Invoice interface parameters

Go to Fresh Invoice Interface parameters->Authentication

Add clent id, secret key,resource url, token url

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 9

Client id -- client id from Azure portal

Secret key – it is key got when creating new client secret in above step

Token Url-https://login.microsoftonline.com/add tenant id here/oauth2/token

Resource Url- D365 FO Url

Ping web service to check if it is working correctly

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl
Work Instructions Page 10

Add Class parameter as below if it is not there

Fresh Dynamics B.V. 4191 NW Geldermalsen info@freshdynamics.nl


Oudenhof 2F Tel. 0345-633788 www.freshdynamics.nl

You might also like