Dynamics Code

Not another PowerPlatform blog

Tag: WebAPI

Passing current login user of Microsoft Dynamics CRM Portal to external web app

You can get the detail of current login user in liquid template va user liquid object. There is another way you can get the current login user via XHR call. Microsoft CRM Portal has built-in API to generate JWT of current login user. The API is at https://<crm portal url>/_services/auth/token and returns JWT. This JWT […]

Read More

Accessing Dynamics 365 WebAPI as an application user without using ADAL

Microsoft has recently posted the documentation for using Postman with Dynamics 365 WebAPI at https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/webapi/use-postman-web-api. This prompts you to login into the application using your credentials to generate a bearer token which is passed to Dynamics 365 WebAPI when a request is made. However, we, sometimes, need to use an application user to access WebAPI, […]

Read More

Creating a custom connector to upload a file to Google Drive from Power Apps – Part 2

Part 1 can be found here. Swagger time To create a customer connector, you can upload either a swagger file or a Postman collection. I am not a swagger expert. But, apistudio makes my life easier. Let’s jump onto http://specgen.apistudio.io. Paste the URL that you used in Postman. Make sure you are using POST. You should […]

Read More

Creating a custom connector to upload a file to Google Drive from Power Apps – Part 1

Knowing the limitation Although Power Automate (Microsoft Flow) and Power Apps support ready-to-use connectors for different services, it seems they do not have the same level of offerings between them. In Flow, for instance, there is a connector for Google Drive and there is a bunch of actions like creating/deleting a file, browsing the folder. […]

Read More

Categories

Archives