Questions tagged [dynamics-crm-online]

Microsoft Dynamics CRM Online is a Customer Relationship Management software package developed by Microsoft Corporation. It was offered under this name between December 2007 and September 2018 (version number 4 until version number 8.1), before it was integrated into the Dynamics 365 product family and marketed as Dynamics 365 for Customer Engagement (for questions regarding this more recent product, please see the related tag).

Useful Links:

  1. Online vs Onpremise - FAQ
  2. Dynamics CRM Online - Licensing & Pricing guide
  3. Dynamics CRM Online and Dynamics 365 build versions
  4. Microsoft announces branding switch from CRM Online to 365 for Customer Engagement
1206 questions
4
votes
1 answer

How can you authenticate with CRM Online using ADAL/OAuth and request data via a token?

I have multiple instances of CRM Online which are hosted in the cloud by Microsoft. They are all secured with the same Azure Active Directory which itself is managed by ADFS. My application is registered within Azure AD and therefore has a client…
Equalsk
  • 7,954
  • 2
  • 41
  • 67
4
votes
2 answers

Calling WCF (using generated client) from CRM sandboxed plugin throws System.Security.SecurityException

Context I am calling WCF service from a CRM plugin using the generated client. (System.ServiceModel.ClientBase) The CRM plugin must work in sandbox isolation mode. The WCF client was generated from pure wsdl and xsd's. It seems it is using Xml…
g.pickardou
  • 32,346
  • 36
  • 123
  • 268
4
votes
1 answer

How do you enable logging for CrmServiceClient in the Xrm Tooling toolkit?

I'm having issues trying to log in to a CRM Online organization through the use of the latest version of the Xrm Tooling nuget package using the connection string constructor from a custom powershell cmdlet. I'm receiving a rather unhelpful "Unable…
GotDibbs
  • 3,068
  • 1
  • 23
  • 29
4
votes
1 answer

MS Dynamics CRM online calculated field error

I have a custom entity, Duration calculation, which is used to calculate duration of Sales stage on Opportunity. In that entity, I have a calculated field which calculates duration between the stage start time and endtime (image attached). When I…
4
votes
1 answer

Performing two Left Outer Joins in a Single LINQ to CRM query

I'm attempting to perform two left outer joins in my CRM online 2015 Update 1 instance, but I am getting an error. This is what I have currently: var query_join8 = from a in crmContext.AccountSet join c in crmContext.ContactSet …
Daryl
  • 18,592
  • 9
  • 78
  • 145
4
votes
0 answers

Is it possible to recreate an early bound CRM entity from a RemoteExecutionContext?

Is it possible to recreate an early bound CRM entity from a RemoteExecutionContext? I've got messages in a Service Bus queue that are RemoteExecutionContext coming from CRM Online. I can happily get the late bound properties from the message if I…
SteveC
  • 15,808
  • 23
  • 102
  • 173
4
votes
0 answers

OData endpoint rejecting adal4j acquired token

I was able to setup adal4j and a service-to-service OAuth authentication and successfully retrieve an access token using the access token authority uri https://login.windows.net/$tenantId/oauth2/token. Here's what the acquire token process looks…
4
votes
2 answers

Microsoft Dynamics Crm Sdk - Is this query possible?

I am exploring the "QueryExpression" mechanism used to Retrieve data via the Dynamics CRM SDK, and I think I have hit a problem / limitiation with the SDK, but I would like to ascertain that for certain.. Given this desired SQL: Select C.firstname,…
4
votes
1 answer

What Changes Does Referencing CodeGeneration.CodeCustomization Make to the Early Bound Generated CRM Entities?

After reading this SO question, I noticed that the link in the question made a reference to Microsoft.Xrm.Client.CodeGeneration.CodeCustomization,Microsoft.Xrm.Client.CodeGeneration. What advantages it has over the standard code gen? According to…
Daryl
  • 18,592
  • 9
  • 78
  • 145
4
votes
1 answer

Dynamics CRM 2011 - How to send an e-mail with external link in workflow step

I'm trying to send an e-mail with an external link using microsoft crm online 2011 workflow to gmail or hotmail, but the link don't work. I tried to use a "HyperLink" and an url at body of e-mail, but any of them worked. When i used a HyperLink, no…
4
votes
1 answer

How to Get Security Roles in CRM 2011 Using JavaScript?

I need to get the security roles which are associated to the current user in CRM Online. How do I do this using JavaScript?
V.V
  • 875
  • 3
  • 25
  • 54
4
votes
2 answers

How do I search for lead or account using Dynamics CRM SDK?

Can someone please provide a sample code for retrieving leads by email in CRM SDK? Is there any built in function that works like this? Guid leadID = someLeadManager.GetByEmail(email);
David Smithers
  • 2,354
  • 1
  • 21
  • 13
4
votes
5 answers

How to access controls from a console

I tried to execute the following command from the console. var subject = Xrm.Page.ui.controls.get("subject"); That's the exact syntax I'm using in the web resource that I'm plugging in to CRM. However, I only got an error message saying that…
user1675891
4
votes
1 answer

"Object doesn't support property or method 'getAttribute'"

I'm working with Dynamics CRM 2011 Online and trying to refactor some code that works on the Quote > Add Product page to also work on Order > Add Product. The problem is that when the page loads I get the error "Unable to get property 'getValue' of…
4
votes
2 answers

There should be only one owner party for an activity in CRM 2011 Workflow

I created one system workflow in CRM 2011 to assign a record to Team on creation of an activity as shown in the below figure. When workflow triggered, its not assigning record to team, instead its giving an error "Invalid Argument". In error…