Questions tagged [dynamics-crm-2016]

Microsoft Dynamics CRM is a multi-lingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service. This tag is reserved for Dynamics CRM 2016.

Microsoft Dynamics CRM is a multi-lingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service.

This tag is reserved for Dynamics CRM 2016.

Olders versions

704 questions
6
votes
1 answer

Dynamics CRM 2016 Online Rest API with client credentials OAuth flow

I'm trying to authenticate with Dynamics CRM 2016 Online and Azure Active Directory. I was able to follow all the steps here: https://msdn.microsoft.com/en-us/library/mt622431.aspx and https://msdn.microsoft.com/en-us/library/gg327838.aspx but…
JKlug
  • 61
  • 1
  • 2
6
votes
1 answer

Property 'stageid' is of an unrecognized EdmPropertyKind. Entity new_test has duplicate navigation property names

I am using CRM2016 I created a test entity to replicate the issue I did not do any customization on it. I created a new record with default fields and form. Then I tried to access the webapi for…
6
votes
1 answer

CRM 2016 oData expand on collection

I'm trying to retrieve multiple data from the new REST API but I have a strange issue. If I use $expand on a collection then it doesn't work. The request is: GET [Oranization URL]/api/data/v8.0/accounts?$expand=contact_customer_accounts…
5
votes
3 answers

CRM reporting Extension - SSRS instance is blank

Trying to install Reporting Extension for CRM 2016 but SSRS instance is blank. VM containing (SQL & CRM on the same machine) Windows Server 2016 SQL Server 2017 - Microsoft SQL Server 2017 (RTM-CU6) (KB4101464) - 14.0.3025.34 (X64) Apr 9 2018…
Nasir
  • 207
  • 4
  • 17
5
votes
2 answers

Microsoft CRM: How to enable/disable Systemuser without deprecated SetStateRequest

To disable a Dynamics CRM 2016 user with C# code the SetStateRequest is currently used. Example: var requestToDisableUser = new SetStateRequest() { EntityMoniker = new EntityReference("systemuser", userGuid), State = new OptionSetValue(1), …
LukStorms
  • 28,916
  • 5
  • 31
  • 45
5
votes
1 answer

Java Script Unit Testing - CRM 2016 Online

I'm stuck. I want to unit test my Java Scripts (Web Resources) in CRM 2016 but I'm not able to get this going. All the unit testing mocking/faking frameworks on the internet are for older versions of CRM. I'm yet to find a fully working unit testing…
CuriousBeing
  • 1,592
  • 14
  • 34
5
votes
0 answers

CRM 2016:Using Web API for CRM IFD to connect CRM Web Service

I'm new to Web API and trying to build a CRM Web Service application with C# by using Web API. Here is the sample code I'm using: C# application which authenticates against Azure AD using ADAL and communicates with Dynamics CRM. This code works…
5
votes
2 answers

crmsvcutil.exe: Unable to generate entity classes for early binding - Dynamics CRM Online

I am trying to generate early bound entity classes from my Dynamics CRM Online instance. I have CRM SDK installed on my machine. I am running following command from the "Bin" folder of SDK. crmsvcutil.exe /url:<>…
5
votes
2 answers

Abstract classes for plugins and workflows

I have created the two following abstract classes that I use in my plugins and workflows: /// /// Base plugin class. Provides access to most often used Xrm resources. /// public abstract class BasePlugin : IPlugin { public…
Francis Ducharme
  • 4,848
  • 6
  • 43
  • 81
5
votes
1 answer

CRM 2016 FakeXrmEasy N:N relationships

I'm trying to use FakeXrmEasy to perform some unit tests for CRM Online (2016) and I'm having problems setting up one of my tests with an N:N relationship The following code sets up a Faked Context with 2 entities in it and initializes a Faked…
jasonscript
  • 6,039
  • 3
  • 28
  • 43
5
votes
2 answers

How to install CRM 2016 Required Components without internet access

I am installing Microsoft Dynamics CRM 2016 (Full Server Role) on an isolated Windows Server 2012 R2 which doesn't have internet access. This is a constraint I have to deal with so it is not even possible for me to 'temporay enable internet'. MSSQL…
5
votes
1 answer

How to authenticate against an MS CRM 2016 IFD instance with javascript?

I want to authenticate against our CRM 2016 IFD instance with Javascript to make some Web API calls. How can I do this? According to the MS documentation, this can be done with ADAL.js, but the answer to this question on github says, that the…
Jer
  • 383
  • 3
  • 17
5
votes
1 answer

Authenticating with the REST web API of MS Dynamics CRM 2016 online

I'm trying to access the new REST API for building a server-to-server interface to integrate the CRM with other applications such as the web-shop etc. I have tried both ways of getting an access-token from Azure AD: Client credentials import…
Chris
  • 834
  • 1
  • 10
  • 23
4
votes
1 answer

Dynamics CRM 2016 - Help on return a value from Xrm.Internal.openDialog

I'm using a 2016 on-premise dynamics crm and I want to open a popUp, select a value from a list and return it to the caller. I can't use navigateTo and the only function that can return a value seems to be the (deprecated) openDialog. I created 2…
4
votes
1 answer

Unable to call the BulkDelete action from Microsoft Dynamics CRM WebAPI

I’m trying to call the BulkDelete() Action of the WebAPI (OData REST service) of an on premise Microsoft Dynamics CRM 365 (2016 / v8.2) instance. For now I am still at the stage of trying to make the action work by using Postman. I am doing an HTTP…
1
2
3
46 47