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

Getting the error when we create the Case

$
0
0

 When i tried to create the Incident I am getting the below error. With the System System administrator role i can able to create the incident. When i tried with Custom security role I am not able to create the Incident. I gave organisation level access to all the Service level permissions. Please find the below error details and do the needful.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: You don't have appropriate permissions to apply Servie Level Agreement (SLA) to this case record.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>b52983c2-3106-4fa4-b588-e41710a66818</ActivityId>
<ErrorCode>-2147135486</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>You don't have appropriate permissions to apply Servie Level Agreement (SLA) to this case record.</Message>
<Timestamp>2018-12-19T22:05:45.6377549Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>

[Microsoft.Crm.Service.ObjectModel: Microsoft.Crm.Service.ObjectModel.CasePreCreatePlugin]
[599729e0-4ccd-472b-8133-ddec4eb1452d: CasePreCreatePlugin]


</TraceText>
</OrganizationServiceFault>


How to delete MSCRM audit logs through C# custom code

$
0
0

Hi,

How can I delete MSCRM audit log or audit log history through C# custom code and what user role will be required for doing that?

Processes

$
0
0

Hi Community,

I have created a processes for an entity called Client Meetings which sends an automatic email when a report field is selected. The process worked until recently, but has now stopped. I created a new process, identical to the original which now works, but is sending duplicate reminders when the report field is selected. It only allows one owner to create the client meeting too and if anyone else creates one, the processes does not work at all. Do you know why this might be? I am unsure why so many reminders are being sent. Could you please confirm? Any help would be highly appreciated. Many thanks. 

Pre-populate the Opportunity Products grid on Opportunity form with some specific products- Dynamic 365

$
0
0

Hi,

I want to populate the Opportunity Products grid on Opportunity form with some specific products on save of a new form. Please advice if this is possible with Javascript or I should use Plugin.

Unable to Delete Managed Solution (Empty dependency list)

$
0
0

I am unable to delete a managed solution from a CRM instance.
It says that it cannot be deleted due to dependencies, however, the dependency list has no records.

There were previously 3 dependencies, all SDK processing steps. 2 caused by business rules and 1 caused by a real-time workflow. I removed all 3 components from the environment and published all customizations, then the list showed as empty.

Any help would be greatly appreciated.

Thanks,

Tadhg.

CRM 2016 (8.2.2) rejects emails

$
0
0

We are missing a lot of emails. How to fix that?

I've looked in the trace log, but there is no message about why the emails got rejected. How should the error look like? Also I deactivated already severy Workflows and it is still the same.

EDIT: Addional information: External e-mails are received. Internal E-Mails are rejected.

EDIT2:

Postfach
support@..........
An error occurred while creating the incoming email "Markting for ......" in Microsoft Dynamics 365 for the mailbox support@.......
Error code E-Mail-Server: ExchangeResponseError 

Sign in Social Engagement from on-prem CRM SSO

$
0
0

Hi I want to login to Social Engagement from SSO page of Dynamics CRM on-prem. It was already integrated already but it seems not working from couple of days.

Previously, when I enters the username in Social Engagement and upon clicking on Sign on button, it was landing on on-prem CRM SSO page. But now it is asking to enter the password.

Any idea where is the disturbance??

Error CS8103 Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.

$
0
0

We are retrieving the  WarehouseInventoryStatusesOnHand entity data from Operations using the Console Application(C#)  by using the below url   https://abcdefg****.sandbox.operations.dynamics.com/data/$metadata   

The purpose of this integration is to get the live inventory stocks from AX into CRM.

We added added the required OdataClient.tt files  then  OdataClient.cs get generated.

Also we have added the ClientConiguration.cs and OAuthHelper.cs classes  as suggested in the blogs  and GITHUB.

github.com/.../ServiceSamples

https://community.dynamics.com/365/financeandoperations/b/365operationswithsukrut/archive/2017/12/03/integration-with-dynamics-365-for-operations-using-odata-proxy-generator

But while building the solution below error is coming.

Error CS8103 Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.

 

I'm using the Visual Studio 2015 and .Net Framework 4.6.1

Can anyone suggest how to handle this issue or give solution/approach on the same.


Problems with configuration CRM for Outlook 2016 - CRM don´t start

$
0
0

I have a problem after we installed CRM for Outlook 2016. We had CRM for Outlook 2015 before that.

After the configuration (CRM Online) it seems that everything is ok, I have "CRM" in my Outlook.

But when I try to connect to CRM from Outlook, CRM is only loading. Nothing else happens.

Do you have the same problem, and if you have solved it, how did you do it?

is there is a product dimension or variants in item definition in CRM like size and color ?

$
0
0

is there is a product dimension or variants in item definition in CRM like size and color ?

and if yes , are they integrated with dynamics AX product dimension 

more than one match found notification on lookup

$
0
0

Hi All,

I have 2 custom entities. Department and Employees. If I create a new employee record from a sub grid in department record, the lookup field in the employee record populates with the department record where the sub grid is present. But when there are duplicate records of Department, the lookup in employee gives an inline warning notification "more than one match found" , and the list of all duplicate records. There are no duplicate detection rule enabled. The field is auto populated using the field mapping in the relationship.

How can I avoid this message and make the lookup populate with the parent department record?

Dashboard - list of available views restricted

$
0
0

Hi,

I'm creating a Sales dashboard that includes a list of Activities. I want to use the system view called My Open Activities, however it's not available to choose, why is that? and how can I make it available?

The list of system views for Activities

The views available to choose when setting up the list in the dashboard - not all views are there

consuming java api in plugin or console app

$
0
0

Hi,

Can anyone help me to consume java api in plugin or console app?. please share sample code.

Thanks,

Bharath

Prevent rollback of tasks when throwing exception in plugin

$
0
0

Hi,

Can anyone suggest a way to prevent plugin tasks being rolled back when throwing an exception. My plugin fires on create of record for entity A. Within the plugin I create another record for a different entity (entity B). I want the plugin to prevent the actual creation of record for entity A. When I throw an exception, everything rolls back including the creation of record from entity B. I have tried Pre-Validation and Pre-Create stages and it happens for both.

Any advice greatly appreciated

Email in Activities - See full content and roll down issue

$
0
0

Hi,

When i go to Activities and in a Email that has been sent to me >Open this activity.

I can't press on the "See full content" and also i can't roll down in the email.

What could the issue be? It's version 9 CRM.


Getting error "Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel." on Save & Close button

$
0
0

Hi,

We have upgraded the MS CRM Organization from 2011 to 365 On-Premise and disable using auto Save, when user click's on the Save & Close button for any entity after editing fields it always show the message "Your changes have not been saved. To stay on the page so that you can save your changes, click Cancel." It doesn't matter if user click on OK or Cancel it always saves the edited data. This prompt is really annoying for the users.

We even tried to disable all scripts written on OnSave of the form but still it shows same prompt always.

Please advise if there is any solution for this issue.

Thank you,

Bhausaheb Patil.

On Assign of record i am getting Error Microsoft.Crm.CrmSecurityException: SecLib::AccessCheckEx2 failed.

$
0
0

Hi All,

On Assign of record to other user/team i am getting below error.and user has BU level privileges on that Entity.

Unhandled exception:
Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]
Message: SecLib::AccessCheckEx2 failed. Entity Name:agreement,OwnershipTypeMask:UserOwned, ObjectId: 20661258-5d04-e911-a96c-000d3af075c4, OwnerId:0fcda679-4604-e911-a968-000d3af06ac5, OwnerIdType:9, OwnerData: teamType=0, privilegeCount=392 and CallingUser:ef01f53c-bf12-e711-810d-c4346bdd2111, CallerBusinessId:f5fc41a4-6114-e711-810f-c4346bdcdd21 PrincipalData: accessMode= 0, roleCount=3, privilegeCount=494. ObjectTypeCode:10013, ObjectBusinessUnitId:50dbd188-b208-e711-810e-c4346bdcdd21, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8, Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>e237e551-3177-4ccc-845d-552abedd71c6</ActivityId>
<ErrorCode>-2147187962</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>ApiExceptionSourceKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Plugin/Microsoft.Crm.ObjectModel.CustomBusinessEntityService</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiOriginalExceptionKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">Microsoft.Crm.CrmSecurityException: SecLib::AccessCheckEx2 failed. Entity Name:agreement,OwnershipTypeMask:UserOwned, ObjectId: 20661258-5d04-e911-a96c-000d3af075c4, OwnerId:0fcda679-4604-e911-a968-000d3af06ac5, OwnerIdType:9, OwnerData: teamType=0, privilegeCount=392 and CallingUser:ef01f53c-bf12-e711-810d-c4346bdd2111, CallerBusinessId:f5fc41a4-6114-e711-810f-c4346bdcdd21 PrincipalData: accessMode= 0, roleCount=3, privilegeCount=494. ObjectTypeCode:10013, ObjectBusinessUnitId:50dbd188-b208-e711-810e-c4346bdcdd21, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8, ---&gt; Microsoft.Crm.CrmSecurityException: SecLib::AccessCheckEx2 failed. Entity Name:agreement,OwnershipTypeMask:UserOwned, ObjectId: 20661258-5d04-e911-a96c-000d3af075c4, OwnerId:0fcda679-4604-e911-a968-000d3af06ac5, OwnerIdType:9, OwnerData: teamType=0, privilegeCount=392 and CallingUser:ef01f53c-bf12-e711-810d-c4346bdd2111, CallerBusinessId:f5fc41a4-6114-e711-810f-c4346bdcdd21 PrincipalData: accessMode= 0, roleCount=3, privilegeCount=494. ObjectTypeCode:10013, ObjectBusinessUnitId:50dbd188-b208-e711-810e-c4346bdcdd21, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8,
at Microsoft.Crm.BusinessEntities.SecurityLibrary.AccessCheckEx2(ExecutionContext context, SecurityPrincipal principal, SecurityPrincipal ownerPrincipal, Guid objectId, Int32 objectTypeCode, Guid objectBusinessUnitId, AccessRights rights)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.AccessCheckEx(ExecutionContext context, SecurityAttributes attributes, AccessRights rights)
at Microsoft.Crm.BusinessEntities.SecurityExtension.PostRetrieveHandler(ExtensionEventArgs e)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PostRetrieveEventHandler.Invoke(Object sender, ExtensionEventArgs e)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.&lt;&gt;c__DisplayClass178_0.&lt;TryRetrieve&gt;b__0()
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.TryRetrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, LocalizedEnumLabelCache localizedEnumLabelCache, DatabaseQueryTarget queryTarget, BusinessEntity&amp; businessEntity)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass2_1.&lt;Execute&gt;b__0()</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">ba798a89-6214-e711-8136-c4346bdd2151</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiDepthKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">1</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiActivityIdKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">e237e551-3177-4ccc-845d-552abedd71c6</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiPluginSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>ApiStepSolutionNameKey</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">System</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>SecLib::AccessCheckEx2 failed. Entity Name:agreement,OwnershipTypeMask:UserOwned, ObjectId: 20661258-5d04-e911-a96c-000d3af075c4, OwnerId:0fcda679-4604-e911-a968-000d3af06ac5, OwnerIdType:9, OwnerData: teamType=0, privilegeCount=392 and CallingUser:ef01f53c-bf12-e711-810d-c4346bdd2111, CallerBusinessId:f5fc41a4-6114-e711-810f-c4346bdcdd21 PrincipalData: accessMode= 0, roleCount=3, privilegeCount=494. ObjectTypeCode:10013, ObjectBusinessUnitId:50dbd188-b208-e711-810e-c4346bdcdd21, AccessRights: ReadAccess. Computed rightsToCheck=ReadAccess, grantedRights=8, hsmGrantedRights=None, grantedRightsWithHsm=8, </Message>
<Timestamp>2018-12-20T13:44:42.9001522Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

 

any help would be appreciated?

Thanks

Pillanagrovi

Re-activating multiple closed leads

$
0
0

Hi,

Is there any quick way of re-activating multiple leads at the same time? We accidentally closed a few hundred leads and need to re-open them.

I have been trying to create a Workflow for this but no luck so far.

Thanks as always,

Ted

Users and Portals

$
0
0

Hi Everybody,

I am putting together an on premise design for Dynamics CRM for a few hundred internal users and about 200,000 external users.  Nothing can be cloud hosted due to information security.  The external users are not part of the internal organization.  I am a bit confused with how the external users are typically handled in this sort of system.  

First, is there a supported Microsoft alternative to ADXStudio Portal available, or is the ADXStudio Community Edition still a decent option?

If the external user connects through a portal, how is the user database itself handled?  For example, does the portal broker the users and store the data in the SQL database, or should I stand up an AD Forest specifically for them?

Thanks!

Total Tax goes back to value 0.00 after loading the invoice by calculating it with a business rule

$
0
0

Hi,

I created for the invoice entity a business rule, which should calculate the Total Tax value.

'Total Tax = Total Pre-Freight Amount x 0.20'

After reloading the invoice, it shows for just a second the calculated value and then it changes the value 0,00 immediately.

I am using Dynamics 365 CRM online version, any ideas how to fix this?

Regards,

David

Viewing all 82002 articles
Browse latest View live


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