Using Postman with the Power Platform

This post provides some screenshots of how to use Postman to trigger

  • a power automate flow
  • a dataverse web api

For a detailed explanation of how to setup Postman, please refer to the references at the end of the post

Setup

Referring to figure 1, the first step is to setup the environment

Note:

  • when selected, the name of the environment will be displayed in the top right of the screen.)
  • the clientId is the same for every dataverse instance.
Figure 1

Connecting to Power Automate

Referring to Figure 2, the ‘sig’ param is the security key. This is taken from the url that exposes the flow. That is, the url in the flow’s ‘HTTP request’ action

Figure 2
Figure 3
Figure 4
Figure 5

Connecting to the Dataverse Web API

Figure 6

Referring to Figure 7, the authorisation information is entered which is required to generate an access token

Figure 7
Figure 8
Figure 9

References

1.) https://ecellorscrm.com/2023/02/28/setting-up-postman-environment-to-test-the-dataverse-apis-quick-tip/

2.) https://carldesouza.com/calling-the-power-apps-and-dynamics-365-web-api-from-the-postman-windows-client/

3.) https://carldesouza.com/triggering-a-microsoft-flow-post-request-from-postman/

4.) https://rajeevpentyala.com/2021/07/21/step-by-step-postman-tool-with-microsoft-dataverse-web-ap