microsoft-dynamics

Dynamics CRM Online 2016 - Daemon / Server application Azure AD authentication error to Web Api

可紊 提交于 2019-12-10 22:34:56
问题 I am building a C# windows service that needs to connect to the Microsoft Dynamics CRM Web API. I am using the example code from github "A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens, Github". I am able to retrieve an access token from AAD, however, when I call the Dynamics CRM resource i get the following error: HTTP Error 401 - Unauthorized: Access is denied StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, WWW

Updating entities on csv import (dynamics crm 2011 online)

吃可爱长大的小学妹 提交于 2019-12-10 18:56:06
问题 While importing csv data in dynamics 2011 online, is there any option of updating existing entities instead of creating new ones ? For example, I have certain custom fields on the Lead Entity (each lead is identified uniquely by email). At some point, an attribute of a lead changes. Can this new value be imported via csv, also maintaining the other existing lead attributes ? Thanks. 回答1: What you can do is get Dynamics to provide you with an xml file of your data which you can edit and re

How can I identify an Axapta class Name from the class ID?

前提是你 提交于 2019-12-10 16:44:08
问题 Please can someone help me make sense of the Batch madness? I'm trying to debug an Axapta 3.0 implementation that has about 50 Batch Jobs. Most of the batched classes do not implement the description() method, so when you look at the Batch List form (Basic>>Inquiries>>Batch list) the description field is blank. You can see the Batch Group and the Start Time , etc. but you can't tell which class is actually being called. The Batch table contains a hidden field called ClassNum which identifies

Resolve error on deep insert of navigation property Dynamics WebAPI

不打扰是莪最后的温柔 提交于 2019-12-10 10:53:32
问题 I am using the Microsoft Dynamics Web API to write data to an entity in Microsoft Dynamics 365. When I try to do a deep insert I am receiving the error An undeclared property 'ccseq_employeeid' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values. Why am I receiving this error and how can I resolve the error? JSON { "ccseq

Images in AX forms

半腔热情 提交于 2019-12-10 10:48:36
问题 In Dynamics AX, we use a large number of images and icons for various purposes in our custom forms. We're currently having to individually install image/icon packs on every client machine in order for everything to work. Is there a way (or best practice) for handling images and icons in Dynamics so an install on every single client is not necessary? Ideally, I'd install all images and icons in one place on the server and reference everything from there, but I'm open to any suggestions

retrieve the value selected in optionset field and display ita value in a text field [closed]

ぃ、小莉子 提交于 2019-12-10 02:52:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Could any one please help me in displaying an optionset field value in a text field..? I want to retrieve the value selected in optionset and display the same in a text field using plugin.. Iam writing this plugin on "update" of "case' entity... 回答1: For getting the option set value: int value = ((OptionSetValue

Dynamics CRM: Compare CRM environments [closed]

风流意气都作罢 提交于 2019-12-08 11:58:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Is there a tool out there to compare CRM environments? Recently we implemented a third party managed solution that changed a bunch of settings on our Contact entity. An example of this is that auditing was turned off. Ideally we would like to compare our Dev environment (where the third party solution is

Microsoft Dynamics GP 2013: How to find Line Item Sequence

╄→гoц情女王★ 提交于 2019-12-08 09:15:01
问题 So I am now working with a form in Dynamics GP 2013 that does not openly display the line item sequence of an item in a list on the form, and am looking for the proper way to find this number so that I can pass it along to a SQL query to find a very specific item among a table. I know the line item sequence is a multiple of 16384, but in these forms, there seems to be know way to pass that along to the SQL query for each individual item. Some orders have just one item on the list, by which in

Using a web service with Microsoft Dynamics CRM 2013 online plugin

坚强是说给别人听的谎言 提交于 2019-12-08 01:50:35
问题 I'm having an issue connecting to a web service for use in a MS Dynamics 2013 plugin (running in sandbox mode because its on the MS hosted online version, not the in house version) The issue I'm facing is that i cannot seem to connect to a web service i need to use to achieve what I'm attempting to do. I initially had the web service binding in the app.config, but i quickly learnt that the app.config is irrelevant in this case (?), so i moved on to creating the binding in the code. this is

Dynamics CRM SDK in C# connect with Invalid Password

a 夏天 提交于 2019-12-07 00:35:53
问题 I am developing one C# application which is used to retrieve data from Dynamics CRM Online. To validate the User Name and Password of Dynamics CRM I am using the WhoAmIRequest. It works fine until the below scenario occures. 1)Connect the Dynamics CRM with Valid URL, User Name and Password. 2) Dispose the Organization Service Object. 3) Reconnect the Dynamics CRM with Valid URL, User Name and Invalid Password. In this scenario also the WhoAmIRequest got executed Successfully. But it should