Skip to main content

D365 SOAP UI token creation

To test SOAP services of D365 we need to generate a OAuth token which is to be sent along with the request. We will use SOAP UI application to test our service.

Before reading the post, go through the Microsoft blog on creating a OAuth token through SOAP UI application here. The blog is outdated as SOAP UI has a new user interface and features but it is still useful.

Create a new project > new test suite > new test case > Create new Http request.




The endpoint is your tenant_id in the format https://login.microsoftonline.com/[tenant ID]/oauth2/token.

The method type is 'POST'.
Fill the parameters with the values shown below.
Click 'Ok'.
Now check the 'Post QueryString' check box and run the service.

The service returns an access token which can used for further processes.




Comments

  1. Hi there, just wanted to say, I enjoyed this blog post. It was inspiring. Keep on posting!

    ReplyDelete

Post a Comment