Questions tagged [dynamics-crm]

Microsoft Dynamics CRM is a multilingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service. It can be used as an xRM platform.

Useful resources


Version-specific tags


Other related tags

7813 questions
130
votes
15 answers

The transaction log for the database is full

I have a long running process that holds open a transaction for the full duration. I have no control over the way this is executed. Because a transaction is held open for the full duration, when the transaction log fills, SQL Server cannot…
Jimbo
  • 1,685
  • 3
  • 12
  • 15
46
votes
7 answers

The user or administrator has not consented to use the application - Send an interactive authorization request for this user and resource

We're doing this CRM Web API project. The project logs-into Dynamics CRM online instance and gets the list of accounts. The login seems to be happening fine. However, the accounts listing is giving the below error: AADSTS65001: The user or…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
24
votes
8 answers

Create annotation to a contact entity in Microsoft Dynamics CRM by API

This question is related to Microsoft Dynamics CRM 2015, that I'm calling through API. I create contact entity: POST [organization URI]/api/data/contacts Content-Type: application/json; charset=utf-8 Accept: application/json { "emailaddress1":…
21
votes
2 answers

CRM 2011 Online Plugin Uploader to support CI

I'm involved in developing a sandboxed Microsoft Dynamics CRM 2011 Online plugin and have a set of tests that I can drive from a xUnit front end on my local machine given that I right-click the Package and select the Deploy option (and resort to…
20
votes
2 answers

How to query an on-premises Dynamics CRM from a Web App (Node/Express)

Been banging my head against a few walls with this so hoping some CRM/Dynamics experts can give me a hand! I'm trying to programatically obtain data out of our Dynamics CRM instance, using a single set of admin credentials within a Node powered…
19
votes
2 answers

how to impersonate a user via odata

We have been succesful in using the odata v8.1 endpoint in 2016 to impersonate a user. Please note that the intended request flow is: Postman-->LocalHost Microservice-->CRM Example of a working request from Postman-->CRM (directly, without going…
18
votes
11 answers

Can't access Microsoft.Xrm namespace

I've downloaded CRM Dynamics SDK and keep it in a local directory. In my code, I'm using EntityCollection (amongst other classes related to Xrm namespace), which means that I need to add using Microsoft.Xrm.Sdk;. The problem is that during…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
17
votes
10 answers

Dynamics CRM 2011 Bulk Update

Running Dynamics CRM 2011 rollout 3. Need to update millions of customer records periodically (delta updates). Using standard update (one by one) takes a few weeks. Also we don't want to touch the DB directly as it may break stuff in the future. Is…
Tedd Hansen
  • 12,074
  • 14
  • 61
  • 97
17
votes
2 answers

CRM do not support direct update of Entity Reference properties, Use Navigation properties instead

I am using Ms Dynamic Web Api with Simple OData. I need to add new record for link entities. I am using the below code snip and refer the documentation on https://github.com/object/Simple.OData.Client/wiki/Adding-entries-with-links var…
17
votes
2 answers

Problem with TemporaryKey.pfx I don't have the password

A client of mine has a problem. He had a Microsoft CRM developper and he left. Now the project remains uncomplete. I've downloaded the source code of the custom applications and I'm not trying to continue the development. I've tried the ClickOne…
Mathieu
  • 4,449
  • 7
  • 41
  • 60
15
votes
4 answers

How to get formContext in Ribbon command of Dynamics 365 9.0

In Dynamics 365 9.0 there was quite a big change regarding how to access form attributes and controls - instead of Xrm.Page namespace, we should pass executionContext to a function and get formContext using getFormContext() function. This is working…
Pawel Gradecki
  • 3,476
  • 6
  • 22
  • 37
15
votes
1 answer

Authorize WebApp to ADFS in order to access Dynamics CRM Web API

I have a web application that needs to speak with Dynamics CRM 365 Web API. The Dynamics CRM is configured as a Relying Party on ADFS. The server is Windows Server 2016 and everything is on premise and not on Azure. What I did to acquire a valid…
Ricky Stam
  • 2,116
  • 21
  • 25
15
votes
3 answers

How to query metadata for all existing fields

We want to enable the client to post to an endpoint such as: [Route("Account", Name = "CreateAccount", Order = 1)] [HttpPost] public Account CreateAccount([FromBody] Account account) { var newAccount =…
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062
14
votes
3 answers

Business Units vs Teams in CRM 2011

I've been told a few times that Business Units in CRM 2011 are "tricky" and shouldn't be set up lightly since they have irreversible consequences for a CRM 2011 implementation. On the other hand, teams in CRM 2011 seem much more flexible in managing…
GuruJ
  • 348
  • 2
  • 4
  • 9
14
votes
1 answer

CRM 2011: Getting entity with Javascript

I am working on some CRM 2011 Online customisations and I need to get an entity using javascript. The entity I need will be based on the ID value of another field (a Contact entity) - this Contact ID I can get fine. The entity I want is a custom…
musefan
  • 47,875
  • 21
  • 135
  • 185
1
2 3
99 100