Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 46379 articles
Browse latest View live

Attrtibute not found error when exporting a solution

$
0
0

Hello.  I deleted a field in a solution in our test CRM environment and all went well.  I was able to export that solution without errors.  When I performed the same delete in our production environment and attempted to export the same solution, I recieve a Query Builder Error Report that states: 

"The attribute with AttributeId = 'e4c718fe-ad70-4906-9136-38e7f5d24ccf' was not found in the MetadataCache. MetadataCacheDetails: ProviderType=Dynamic, StandardCache=True, IsLoadedInStagedContext = False, Timestamp=1903990072, MinActiveRowVersion=1903363697, MetadataInstanceId=28527658"

Does anyone know where I might look for a dependency that may have existed that was not indicated when I looked for them in production?  Is there anything I can do to alleviate this problem without importing a back up of a solution?

Thank you,

NB


automatic data feeds to CRM

$
0
0

I know you can load data into CRM entities using a csv imports. Are there any vendors that do an automatic feed from a SQL table for instance. Thanks for the feedback. 

fill Account Table with dummy data

$
0
0

Hi, I am new to dynamics, I want to connect to Datavesre buy flutter but before that, I need to fill the account table with dummy data inside Power Apps. Is there any way to do that? Is there any xlsx file for importing from Get data from excel ?

Get error when try to access Dynamics CRM entities in my application

$
0
0

I am planning to access Dynamics CRM entities in my flutter application, After getting client id and tenant from AZURE ACTIVE DIRECTORY, Now I need scope to access Dynamics CRM entities.

From PowerApp at the Developer resources I get Web API endpoint:


This is my config:

When I am trying to get token :

void login() async {
try {
await oauth.login();
String? accessToken = await oauth.getAccessToken();
print('------------> $accessToken');
} on Exception catch (e) {
print('------------> $e');
}
}

I got this error:

I/flutter ( 7460): ------------> Exception: Access denied or authentication canceled.

When I used `scope: "openid profile offline_access",` I received token. What is a problem ?

Even When I past `Web API endpoint` in browser I got :

This page isn’t workingIf the problem continues, contact the site owner.
HTTP ERROR 401

Calculate Case Resolve Time Based on Business hours

$
0
0

Hi there all
I need a solution to calculate the hour of resolving a case.
Its important to be in my local business hours.
My mostly cases resolve via workflows.
What are the possible ways and solutions?
Can I create a service activity when case is created and update in on resolve time?
Any Idea?

Role of 'Sandbox Processing Service' and 'Asynchronous Processing Service'

$
0
0

I've always had a question, 'Dynamics 365 Sandbox Processing Service' and 'Microsoft Dynamics 365 Asynchronous Processing Service' in the server for Dynamics 365 OP, what are they for?

Such as:

1. sandbox and none mode in the plug, or a plugin is sandbox sync, or a plugin is sandbox async, so does it use sandbox or asynchronous services?

2. Background or real time run of workflow, which service do they use?

Connect/Relate Activities Together

$
0
0

Hello, 

Is it possible to connect activities to one another. I am using d365 Sales and I have a list of activities that need to be completed by different users. What  I want to see is for a client a list of the tasks required to be completed for them, who is working on the tasks and which ones are done. 

Any ideas how I can achieve this and relate the tasks to each other? 

ms crm plugin question

$
0
0

Entity A has whole number field called wholenumber. Entity A also have subgrid. when the new record is created in the subgrid it should fetch the count from subgrid and update it to the wholenumber field. using plugin.


MultiSelect Picklist Attribute Metadata not returned when using OAuth authentication in Dynamics CRM (Online version).

$
0
0

When using OAuth authentication in Dynamics CRM Online MultiSelectPicklistAttributeMetadata EntityType is not returned . The request being sent is like below:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><Execute xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><request i:type="a:RetrieveEntityRequest" xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts"><a:Parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><a:KeyValuePairOfstringanyType><b:key>EntityFilters</b:key><b:value i:type="c:EntityFilters" xmlns:c="http://schemas.microsoft.com/xrm/2011/Metadata">Attributes Relationships</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>MetadataId</b:key><b:value i:type="c:guid" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/">00000000-0000-0000-0000-000000000000</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>RetrieveAsIfPublished</b:key><b:value i:type="c:boolean" xmlns:c="http://www.w3.org/2001/XMLSchema">false</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>LogicalName</b:key><b:value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">contact</b:value></a:KeyValuePairOfstringanyType></a:Parameters><a:RequestId i:nil="true"/><a:RequestName>RetrieveEntity</a:RequestName></request></Execute></soap:Body></soap:Envelope>

 

However, when I use Basic authentication, I can get these fields. I noticed that with this form of authentication I get as part of the metadata the attribute type for these fields and its data related. I have included the request and the response below.

 

Request:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><soap:Header><a:Action soap:mustUnderstand="1">
    http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute</a:Action><SdkClientVersion xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">9.0.9002.0</SdkClientVersion><a:MessageID>
    urn:uuid:xxxxx</a:MessageID><a:ReplyTo><a:Address>
      http://xxxx</a:Address></a:ReplyTo><a:To soap:mustUnderstand="1">
    https://xxx.crm.dynamics.com/XRMServices/2011/Organization.svc</a:To><o:Security soap:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><u:Timestamp xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" u:Id="_0">...</u:Timestamp><EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><EncryptedKey><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/></EncryptionMethod><ds:KeyInfo><wsse:SecurityTokenReference xmlns:wsse="xxxxxx"><wsse:KeyIdentifier ValueType="http://xxxx.SubjectKeyIdentifier" EncodingType="http://docs.xxxx.wss-soap-message-security-1.0#Base64Binary">xxxxx</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo><CipherData><CipherValue>xxxxxxxxx</CipherValue></CipherData></EncryptedKey></ds:KeyInfo><CipherData><CipherValue>xxxxxxxxx</CipherValue></CipherData></EncryptedData></o:Security></soap:Header><soap:Body><Execute xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><request i:type="a:RetrieveEntityRequest" xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts"><a:Parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><a:KeyValuePairOfstringanyType><b:key>EntityFilters</b:key><b:value i:type="c:EntityFilters" xmlns:c="http://schemas.microsoft.com/xrm/2011/Metadata">Attributes Relationships</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>MetadataId</b:key><b:value i:type="c:guid" xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/">00000000-0000-0000-0000-000000000000</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>RetrieveAsIfPublished</b:key><b:value i:type="c:boolean" xmlns:c="http://www.w3.org/2001/XMLSchema">false</b:value></a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>LogicalName</b:key><b:value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">contact</b:value></a:KeyValuePairOfstringanyType></a:Parameters><a:RequestId i:nil="true"/><a:RequestName>RetrieveEntity</a:RequestName></request></Execute></soap:Body></soap:Envelope>

Response:

<d:AttributeMetadata i:type="e:MultiSelectPicklistAttributeMetadata" xmlns:e="http://schemas.microsoft.com/xrm/9.0/Metadata">
	...
</d:AttributeMetadata>

 

 

Is there any type of configuration that needs to be made in my custom app to get these fields when using OAuth authentication? Or any kind of configuration from the UI of my account?

 

Thanks for the help.

Filter OOB Disqualify Lead Button status reasons based on a a condition

$
0
0

Hello Community

what I am trying to achieve is that I want to only show some status reasons based a lookup value in the Disqualify Menu is there any work around to do it

CRM 2015 + AD FS 3.0

$
0
0

Hello.

This is my first post in the forum .

I want to setup IFD in CRM 2015 and ADFS v3.0 on separate servers, so first I have configured the Claims-based authentication and in this step I'm encountering an issue when CRM calls ADFS, it shows: "Error details: MSIS7102: Requested Authentication Method is not supported on the STS."

CRM redirects (302 HTTP code) calls to ADFS:

CRM and ADFS don't ask for user and password information (I assume that it is a normal situation) and I can see this is an internal request (normal situation):

 

But it shows an error saying "Requested Authentication Method is not supported on the STS".

Also and just in case it is relevant, I have two bindings HTTPs and HTTP, where HTTPs is configured with ADFS, so if I call to HTTP then CRM asks for username and password, and it works:

Any idea?

Regards!.

The table grows ActivityPointerBase grows overdimensionally fast.

$
0
0

The table grows ActivityPointerBase grows overdimensionally fast. In the production environment, the table consumes almost 2 GB more memory than in the test environment.
The test environment was also recently copied from the production environment, which means the environments should be at about the same level.


Test environment: 2,027,453 records
14.624 MB
Production environment: 2,051,935 records
16,607 MB

Assuming the test environment, however, 1 GB of data should only come about with 2,027,453/14.6 = approx. 140,000 more data records.

While according to the current state even 2 GB more is used for only 24,482 records.

Even more curious is the case that only 2,700 records have been added recently and for that about 1 GB of storage space has been added.

Why is the table growing so much in memory even though so few new records have been added?

Plug-in Step Filters not working

$
0
0

Hi experts,

I have made a Assembly with a couple of plugins for a Model Driven App in Power Apps. I'm using the Plugin Registration Tool to add plugins/debug them. Everything was working fine until I imported the solution I made to Production. In production Filters were not working. So I tried exporting without Plugin Profiler/ with Profiler... Now in Test environment the filters are also not working.

A example:

I have a plugin that will fire when Price field of  Training Entitie changes (Update: Filter attribute, Price).

I have another plugin that will fire when StartBudget field/StartDays field of  TraineeBudget Entitie changes  (Update: Filter attribute, StartBudget & StartDays).

When I change the comment field of Training Entitie (which is not included in Filter attributes) and save the Training record it fires the first Plugin. This plugin would make changes to the TraineeBudget Entitieremaining budget field and remaining days field. This causes the second plugin also to fire (while this plugins only would fire on startbudget, startdays).

I disabled all workflows to make sure these weren't causing it.. I also tried changing my Plugins from Postoperation to Preoperation to see if this would make any change but filters are still not working. I looked all over the internet to find a solution to my issue but nothing changes..

Best Regards,

Anthony

Dynamics Forms

$
0
0

We have a landing page forms created in Dynamics form where the submit button doesn't work. Have anyone come across this issue before? 

Please find below a copy of the code:

"

</div><divdata-editorblocktype="SubmitButtonBlock">
<p><buttonclass="lp-form-button lp-form-fieldInput"name="submitb448c87c-b744-0cc1-a094-98fb0f638c8c"type="submit"><spanstyle="font-family:Georgia">Submit</span></button></p>
"
We thing it maybe the ID number that is causing the issue, but cannot be 100% sure. 
Any suggestions would be very much appreciated. 
Regards
Jason 

How to Retrieve look field value in crm plugin

$
0
0

How to Retrieve Lookup field value 

Can u briefly explain with logical names also 


Restore Master Configuration Environment to UAT and Production

$
0
0

Hi All,

I want to create a environment in which to maintain all Configuration Data. And then have this environment restore to UAT and Production so that i have to manually import all configuration data through tedious process of excel import.


Please guide on how to achieve this and what consideration i need to do for this.

Thanks

Power Apps Features that come along with office 365 subscription

$
0
0

Hi,

If a user has office 365 subscription, what all Power Apps features will be included without extra cost. In case the user wants to create an app and share it with other office 365 users, connecting to database, will any extra license be required. If so, what are the required licenses?

Thanks in advance!

Dynamics CRM APP crashing because of xp_userlock (sp_getapplock)

$
0
0

Hi,
lately our Dynamics CRM 365 On-prem has been experiencing daily problems. App crashes fully with only thing in event logs that tells us anything:

Query execution time of 37.7 seconds exceeded the threshold of 10 seconds. Thread: 20; Database: ****; Server:****; Query: sp_getapplock.

and this repeats many times over the history.

When querying database (MS SQL server 16) for which sessions are active it reports:

<?query -- xp_userlock --?>

which is being executed by default user under which CRM itself runs on server.

As for the time frame this happens usually only once per day, but on completely unrelated hours.

Does anyone have any ideas why this would be happening since we are running completely out of them?

API Security in Portal Web page

$
0
0
Hi All,

An observation around security within Dynamics CRM Portal Code when hitting an external API through JavaScript Code from Web page.

      1. How can we secure the Security Token from JavaScript, which is using Ajax/XHR to hit an API
      2. How can we avoid to expose the token or key. So that API couldn't hit explicitly

Please share your experiences, if you guys have faced the same challenge to secure the keys within JavaScript Code.
Thanks,
Suresh Kumar

Change password functionality not working

$
0
0

Greetings Everyone,

Change Password Ribbon button is not working in several of my systems.

This is the message that I'm receiving:


code2147746581

errorCode2147746581

message"An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support."

raw"\"Task Flow is deprecated in 2021 Release Wave 2 Update. Please contact system administrator to resolve this issue.\""titleundefined

There are almost no resources online that can help me with this issue.

I have only found this (kind of a latest) post: PowerApps Forum Link

So what is the fix, what can I do ?

Would love to hear any kind of advices.

Thanks.

Viewing all 46379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>