- Use CrmServiceClient to execute web request against Dynamics 365 Web API – OAuth
- Consume Dynamics 365 Web API using MSAL.NET using ConfidentialClientApplicationBuilder class
the connection string parameters
- Consume Dynamics 365 Web API – OAuth – Authorization Code Grant Type
- Consume Dynamics 365 Web API – OAuth – Implicit Grant Type
- Consume Dynamics 365 Web API – OAuth – Implicit Grant Type (through Single Page Application)
- Consume Dynamics 365 Web API – OAuth – Client Credentials
- Consume Dynamics 365 Web API – OAuth – ROPC – Resource Owner Password Credential
- Use CrmServiceClient to execute web request again Organization Service – OAuth
- Consume Organization Service – Office 365 (Auth Type)
- Consume Organization Service – On-Premise
Replace Office 365 authentication with OAuth
Recent Posts –

Export key attribute uniquename for component CustomAPI must start with a valid customization prefix exception while creating Custom Action in Dynamics 365
We might get below error while creating a custom action from the maker portal without specifying the prefix. Unhandled exception: Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: Export key attribute … Continue reading “Export key attribute uniquename for component CustomAPI must start with a valid customization prefix exception while creating Custom Action in Dynamics 365”
Force Sync Users from Azure AD to Dynamics CRM
Originally posted on Power Platform:
When an new Environment is created, it takes more than an hour or some times a day to sync users from Azure…
Dynamics CRM On Premise Maintenance Jobs!
Originally posted on Ricky Safford Development Repository:
Please remember to reschedule these maintenance jobs after the installation of CRM is completed. Maintenance Job Name Purpose Default Frequency/…

Allowed Custom Processing Step Type (AllowedCustomProcessingStepType) property of Custom API in Dynamics 365 / Microsoft Dataverse
Continuing our previous posts, let us check the AllowedCustomProcessingStepType attribute in this blog post https://nishantrana.me/2021/01/13/use-custom-api-to-create-custom-messages-in-dynamics-365/ https://nishantrana.me/2021/01/14/execute-privilege-name-executeprivilegename-property-of-custom-api-in-dynamics-365-microsoft-dataverse/ Allowed Custom Processing Step Type attribute of custom API allows us … Continue reading “Allowed Custom Processing Step Type (AllowedCustomProcessingStepType) property of Custom API in Dynamics 365 / Microsoft Dataverse”

Unable to retrieve attribute=businessunitid for entityLogicalName=systemuser exception while creating Application User in Dynamics 365
Recently while trying to add a new application user we got the below error message More on Application User – https://nishantrana.me/2020/12/24/application-user-form-missing-in-dynamics-365/ https://nishantrana.me/2020/12/23/d365-the-user-is-not-a-member-of-the-organization-error-while-connecting-to-ce/ Adding the missing Business Unit … Continue reading “Unable to retrieve attribute=businessunitid for entityLogicalName=systemuser exception while creating Application User in Dynamics 365”

Manage Dynamics 365 Web API with Azure API Management
Azure API Management is an Azure service to create consistent API gateways for secure, scalable access for back-end applications and services. Azure API Management consists of 3 … Continue reading “Manage Dynamics 365 Web API with Azure API Management”

Execute Privilege Name (ExecutePrivilegeName) property of Custom API in Dynamics 365 / Microsoft Dataverse
In the previous post, we created a simple custom API https://nishantrana.me/2021/01/13/use-custom-api-to-create-custom-messages-in-dynamics-365/ Let us look at its different properties starting with ExecutePrivilegeName Execute Privilege Name attribute of custom … Continue reading “Execute Privilege Name (ExecutePrivilegeName) property of Custom API in Dynamics 365 / Microsoft Dataverse”

Use Custom API to create custom messages in Dynamics 365
Custom API (preview) allows us to define our custom messages that can be called from web services, similar to Custom Actions. Usually, we would be creating custom … Continue reading “Use Custom API to create custom messages in Dynamics 365”

Improved search experience in Dynamics 365 / PowerApps
To enable the new search experience, we need to turn on the relevance search on that environment. Login to the admin portal and environments section https://admin.powerplatform.microsoft.com/environments Navigate … Continue reading “Improved search experience in Dynamics 365 / PowerApps”
Migration of Personal views/charts/dashboards with sharing information
Originally posted on Phani Rajasekhar:
In my previous blog I explained the issues that I faced while POA entity migration. Here I will explain the whole process…

Dynamics 365 Sales mobile app (preview)
The new Dynamics 365 Sales mobile app (preview), has been introduced specifically for the field sellers who need quick access and intuitive management of the customer information … Continue reading “Dynamics 365 Sales mobile app (preview)”

Application User Form missing in Dynamics 365
Recently while trying to create a new application user, we could not find the application user form for the system user entity in the web application. Within … Continue reading “Application User Form missing in Dynamics 365”
Loading…
Something went wrong. Please refresh the page and/or try again.
Related
Author: Nishant Rana
I love working in and sharing everything about Microsoft.NET technology ! View all posts by Nishant Rana
3 thoughts on “Sample Code – Dynamics 365 Web API / Organization Service”