Today i needed to assign security role to team and user using rest api through postman: Below is the sample request:- Assign role to team Method : Post Url: https://yourceinstancename.api.crm9.dynamics.com/api/data/v9.1/teams(teamguid)/teamroles_association/$ref Body: {"@odata.id":"https://yourceinstancename.api.crm9.dynamics.com/api/data/v9.1/roles(roleguid)"} 2. Assign role to user Method : Post Url: https://yourceinstancename.api.crm9.dynamics.com/api/data/v9.1/systemusers(systemuserguid)/systemuserroles_association/$ref Body: {"@odata.id":"https://yourceinstancename.api.crm9.dynamics.com/api/data/v9.1/roles(roleguid)"} Just replace yourceinstancename, teamguid , systemuserguid , roleguid as per your... Continue Reading →
How to publish webjob from azure devops to azure app service using Azure app service deploy task
So the other day i was trying to publish azure webjob from devops release pipeline using "Azure app service deploy" task which is oob task available in azure devops to deploy code to azure app service. Now this activity by default publish to wwwroot directory in app service which works pretty well when you want... Continue Reading →
Building EMI calculator with Microsoft Power Apps (Canvas Apps)
Building EMI calculator with Microsoft Power Apps In last posts ( Power apps : Understanding What it is and why to use it? and Types of Power apps: Canvas Apps and Model Driven Apps, Which to choose? ) i discussed about what is power apps and types of power apps. Now as doing practical is great way... Continue Reading →
Query D365 ce using fetch xml in azure logic app (without cds connector)
In azure logic app we have oob connector for cds (common data services) which does most of the task but have certain limitations. We know that fetchxml is much more powerful in terms of aggregation and joins. Also using below approach you can handle the cases where you just want to update dynamics fields in... Continue Reading →
Query D365 CE from console app using azure ad app using client credentials – (Server to server authentication using azure ad and application user for Dynamics 365 ce)
To query ce from outside ce using webapi, follow below steps:- Prerequisites :- Azure ad application with secret generated (Azure Subscription should be with same Office 365 account as of your D365 instance-you can login to azure using your ce trail instance credentials) (Ref ms docs) 2. Application user created in ce with same... Continue Reading →
How to add new option set value in global option set using webapi in Dynamics 365 ce
I was trying to found out how we can add a new value to a global option set and below post request can do the same : https://vgrade2.api.crm8.dynamics.com/api/data/v9.1/InsertOptionValue { "OptionSetName": "new_test", "Label": { "LocalizedLabels": [ { "Label": "anewoptionsetlabel", "LanguageCode": 1033 } ] } } Output: { "@odata.context": "https://vgrade2.api.crm8.dynamics.com/api/data/v9.1/$metadata#Microsoft.Dynamics.CRM.InsertOptionValueResponse", "NewOptionValue": 100000005 } Be default it put... Continue Reading →
New Dynamics 365 certifications exams
You might be knowing that old certifications of dynamics 365, MB2-715 Microsoft Dynamics 365 Online Deployment MB2-716 Microsoft Dynamics 365 Customization and Configuration MB2-717 Microsoft Dynamics 365 for Sales MB2-718 Microsoft Dynamics 365 for Customer Service are going to expire on 30th June, 2019. It's time to gear up for new certifications guys and below... Continue Reading →
How to enable the new UI navigation in UCI in Dynamics 365 CE
I was trying to enable the new Navigation for UCI in Dynamics 365 CE which make the left hand menu items in sitemap to be expended by default. It is part of UI updates announced in Oct 2018. Details are available at blogs.msdn . This is the UI experience i wanted to enable in my d365 CE... Continue Reading →
How to generate early bound class for dynamics 365 CRM/CE
Below are the steps how we can generate early bound class for dynamics crm using crmsvcUtil :- Get latest crm sdk. Go to SDK\Bin folder, there you must see crmsvcUtil tool Open command prompt and go to SDK\Bin folder using "cd <sdk bin path>". For eg: If you have placed bin folder in c drive... Continue Reading →