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

Queues and QueueItems

$
0
0

Hey,

When I send out an email in CRM to any personal queue, it is not adding to any queue i.e., a queueitem is not created. Why is that happening?

When actually the queueitem will be created for any queue?

Should we need to enable the queue on the server in order to create queueitems?

Awaiting for your reply.


Dynamics 365/CRM Form JavaScript Business Process Flow Issue

$
0
0

I am running into an issue when setting a business process flow field to be required conditionally with JavaScript. I can successfully set the red asterisk on the client side next to the business process flow field in the stage, however, when the "Next Stage" button is clicked, this hidden system function on the button click is not checking client side validation for these required fields, and allows the user to proceed to the next stage without throwing an error. Has anyone else had this same issue, and what have you done to overcome it?

Some questions you may have: I have multiple Yes/No fields in the first stage, and pending the selection of any of these fields as "Yes," I want to require that the user need to click a corresponding Yes/No completed field at a stage later in the process. So, while I could make multiple branches to handle field requirement in the business process flow, it gets messy very quickly by adding tons of "possible" paths. I should be able to conditionally set requirement of a field in the process, and there should be client side validation when the user attempts to proceed to the next step.

Is there something I'm missing?

Thanks!

sample code of how I'm setting field requirement in BPF header:

function setRequiredFields() {

    var myField = Xrm.Page.getAttribute("bit_myfield").getValue();
    var bpfControl = Xrm.Page.getControl("header_process_bit_laboradded").getAttribute();

    if (needLabor === true) {

        bpfControl.setRequiredLevel("required");

    } else {

        bpfControl.setRequiredLevel("none");

    }
}


 

javascrpit web resource Register On Change for a drop down list and fire function

$
0
0

Hello

i have a javascript on a web resource that controls many things in my form. I want to use the javascript to to fire a specific visibility function On Change  of a specific field value.  Now i know i can click the form control and append a function event to the On Change property of it. Thats fine but i was wondering if there is any way to register an On Change event using pure javascript. So Somehow register the control and Monitor its on change without using the built in entity features to do so? Does anyone have an idea on how to do this?

Power BI Desktop integration with Dynamics 2016 On-Prem

$
0
0

Hello everyone!

I have been trying, without success, to connect our Dynamics CRM 2016 On-Prem to Power BI Desktop using the following

However, when I paste the Instance Web API into PowerBi, I get an error prompt preventing me from progressing.  It reads "Invalid Arguments: one or more of the input fields is in the incorrect format".

I have tried removing the extra */* from the address, pasted all available addresses listed in the Customizations/Developer Resources settings, and still haven't had success.  All returned the same error prompt.

What am I doing wrong here?  This seems like a simple process and I'm missing something...

Converting CRM record into .dat file

$
0
0

I have a requirement to write the contents of CRM record into  .dat file once the record is created programmatically to be consumed by Line of Business Application. Any solutions would be much appreciated

Eg An account record is created and I need to create a .dat file programmatically which has all the contents of that Account record

Create records using background integration, and population of calculated(using formula) field

$
0
0

hi ,

When i create records using backend integration , I need to populate a text field which combine two text fields in a record.

Which method can i use to do this,

1)background workflow 

2)Javascript 

Portal Entity Form Sub grid - enable/disable Edit Action link

$
0
0

We have a portal entity form which contains a sub grid with 'view' and 'edit' actions.  Is it possible to enable/disable the action buttons per item in the sub grid depending on the value of a specific column on each item in the grid?

Thanks

Assignee has insufficient privileges error when Merging records

$
0
0
This is the error that I am getting when trying to merge a contact or account.  User has global admin security role.
X Assignee has insufficient privileges.

The selected {0} does not have sufficient privileges to be assigned records of this type. For more information, contact your system administrator.

 

Any suggestion of what could be causing 

this?  The error doesn't provide an option to download the log.  


Full Record Counts over 10,000

$
0
0

In 2013 CRM I've tried to run reports to get full records of my entities, however it isn't going to work. I was thinking of some kind of JavaScript function but I don't know where to start. 

Thanks!

Send automated email from Modified By user using background process (workflow)

$
0
0

In CRM 2015 Online, we had background processes (workflows) that would automatically send an email on record assignment from the assigner (modified by user) to the assignee (owner). It worked beautifully as the email would show FROM the modifying user and TO the new owner. Somewhere along the way, an update to either CRM 2015 or transition to 2016 broke this process. It remains broken/changed in Dynamics 365 version 8.2. Now, the processes don't run. Instead, they remain in waiting status with this error:

"You cannot send email as the selected user. The selected user has not allowed this or you do not have sufficient privileges to do so. Contact your system administrator for assistance."

Error Message:

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=redacted]]: User does not have send-as privilege.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>14651d6c-9783-4ee2-8c6e-8f173c0b4c5a</ActivityId>
  <ErrorCode>-2147203059</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>User does not have send-as privilege.</Message>
  <Timestamp>2017-07-28T17:20:19.4702837Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>14651d6c-9783-4ee2-8c6e-8f173c0b4c5a</ActivityId>
    <ErrorCode>-2147203059</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>User does not have send-as privilege.</Message>
    <Timestamp>2017-07-28T17:20:19.4702837Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText>[Microsoft.Xrm.Sdk.Workflow: Microsoft.Xrm.Sdk.Workflow.Activities.SendEmail]
[SendEmailStep1: Send email from assigner to assignee]
</TraceText>
</OrganizationServiceFault>
   at Microsoft.Crm.Workflow.Services.SendEmailActivityService.Execute(ActivityContext executionContext, SendEmail sendEmail)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

I have seen other articles that suggest changing user permissions to allow sending email as other users, but I don't want to do this, because it introduces a whole lot of unwanted potential.

Instead, I think something is not right. For example, I can create a background process on an Order entity, set as Business Unit and triggers on assignment. The only step is to send an email. Here is how I structured the email:

From: {Modified By(Order)}
To: {Owner(Order)}
Subject: CRM Order Assignement::{Name(Order)}
Body: {Modified By(Order)} has assigned you to the following CRM Order: (etc.)

The problem is with putting the {Modified By(Order)} in the From field. This produces the error. However, if I leave that field blank, or use a manner of many other choices, such as {Owning User(Order)}, {Modified By(Modified By (User))}, or {User(Modified By (User))}, it doesn't give an error, but will send as the Job Owner (which is always the creator of the background process). This is something, as the email sends, but it's not desirable as everything will then come from the user who created the job; we want the email from the user who assigned the record. It's almost an unintended work-around of sending an email as another user as well, even though no one has that permission.

Also, we can tell something is wrong, because that {Modified By(Order)} entry in the email message body IS working properly. It does properly show the modified by user who assigned the email, even though it doesn't match the same dynamic value entry in the from field.

Hopefully Microsoft can weight in on this, as we use many automated emails for user notification and want them to come from the actual users initiating them.

Problems with using ILMerge and GUI-ILMerge when merging assemblies

$
0
0

I'm trying to merge my plugin assembly with the external libraries it's using (RestSharp, DocuSign, Newtonsoft.Json) so it can run on Dynamics Online

I'm using ILMerge and GUI-ILMerge https://ilmergegui.codeplex.com/ for simplicity but I think the problem lies within ILMerge

Multiple assemblies can be merged without problems as long as the option to sign them is not enabled.

When I try to sign them with my *.snk key, this error comes up 

Unable to load DLL 'mscorsn.dll':The specified module could not be found. (0x8007007E)

The missing DLL seems to be from Windows 8. One solution I've found online suggested installing .NET 3.0, but this didn't fix anything.

All assemblies uploaded to Dynamics Online must be signed and this is presenting a roadblock at the moment.

Any suggestions on how to fix this?

Access restriction on connecting via API

$
0
0

Hi Guys - Is there any way I can put restriction on users to access CRM NOT via API and only use the Web. I know its possible the other way, to only allow users to go through the api and not the web but choosing mode as non interactive but I am looking for a solution to restrict users access and only go through Web instead writing their own code and connecting to CRM. thanks for help in advance. 

Get value of the fields in another entitie (JavaScript)

$
0
0

Hello, I have 3 entities, called A, B and C, also I have these one to many relationship A-B and B-C, but my business process only contain the entities A and B. In "A" I have 3 field A1, A2 and A3, and in "C" I have one lookup field of A. I need that when I chose the register in the lookup field gets also the fields A1, A2 and A3. How can I do that with JavaScript?

Unable to create a new Account in on-line Dynamics 365

$
0
0

Trying to create a new account within the Dynamics 365 on-line application.  When I attempt to save the record I am getting the error output below.  Is this a possible configuration setting the could be causing the issue.
Any assistance would greatly appreciated.

spaceghost63

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Process action associated with this process is not activated.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>1d967a76-0016-462c-a6c0-5847a1a64b32</ActivityId>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Process action associated with this process is not activated.</Message>
<Timestamp>2017-07-28T17:17:17.3016098Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText>

[Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin]
[2b26f9fb-bb68-4b57-8228-2a687c2e0b70: Field Service: Create (pre-validate) for account]
FieldServicePlugin: PluginLocal.Create, Depth: 1
FieldServicePlugin: PluginContext Start
FieldServicePlugin: MessageName: Create
FieldServicePlugin: PrimaryEntityName: account
FieldServicePlugin: PrimaryEntityId: 9addb798-b873-e711-811a-1458d04d95c0
FieldServicePlugin: SecondaryEntityName: none
FieldServicePlugin: Stage: 10
FieldServicePlugin: PreEntityImages.Count: 0
FieldServicePlugin: PostEntityImages.Count: 0
FieldServicePlugin: InputParameters:
Target = Microsoft.Xrm.Sdk.Entity
SuppressDuplicateDetection = False
FieldServicePlugin: OutputParameters:
FieldServicePlugin: SharedVariables:
DefaultsAddedFlag = True
BpfInjectProcessAttributes = False
FieldServicePlugin: UserId: 9b01aa35-734f-e711-8118-1458d04d06c0
FieldServicePlugin: InitiatingUserID: 9b01aa35-734f-e711-8118-1458d04d06c0
FieldServicePlugin: IsolationMode: 1
FieldServicePlugin: Mode: 0
FieldServicePlugin: OrganizationName: xxxxxxxxxxxx
FieldServicePlugin: OrganizationId: 5afccffe-1574-4eb8-8152-4682b25c025e
FieldServicePlugin: BusinessUnitId: e5d870b2-7317-e711-810c-1458d054d020
FieldServicePlugin: CorrelationId: f33bdc68-91c9-4a24-80a7-623c0e73ddc4
FieldServicePlugin: RequestId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: OperationId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: IsInTransaction: False
FieldServicePlugin: Depth: 1
FieldServicePlugin: IsExecutingOffline: False
FieldServicePlugin: PluginContext End
FieldServicePlugin: PluginLocal.Create, Depth: 1
FieldServicePlugin: PluginLocal.Create, Depth: 1
FieldServicePlugin: InitializePlugin: local
FieldServicePlugin: Verifying database version in fs settings
FieldServicePlugin: InitializePlugin: soft
FieldServicePlugin: Settings: Retrieving local
FieldServicePlugin: Settings: Retrieving hard
FieldServicePlugin: InitializePlugin: hard
FieldServicePlugin: PluginLocal.Create, Depth: 2
FieldServicePlugin: PluginLocal.Dispose, Depth: 2
FieldServicePlugin: PluginLocal.Dispose, Depth: 1
FieldServicePlugin: PluginLocal.Dispose, Depth: 1
FieldServicePlugin:

Process action associated with this process is not activated.

System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Process action associated with this process is not activated. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).
FieldServicePlugin: PluginLocal.Dispose, Depth: 1

[Microsoft.Dynamics.FieldService: Microsoft.Dynamics.FieldService.FieldServicePlugin]
[418d1278-a2fe-4a6c-b419-a219dcbef3c8: Field Service: Create (pre-operation) for msdyn_fieldservicesystemjob]
FieldServicePlugin: PluginLocal.Create, Depth: 2
FieldServicePlugin: PluginContext Start
FieldServicePlugin: MessageName: Create
FieldServicePlugin: PrimaryEntityName: msdyn_fieldservicesystemjob
FieldServicePlugin: PrimaryEntityId: 9bddb798-b873-e711-811a-1458d04d95c0
FieldServicePlugin: SecondaryEntityName: none
FieldServicePlugin: Stage: 20
FieldServicePlugin: PreEntityImages.Count: 0
FieldServicePlugin: PostEntityImages.Count: 0
FieldServicePlugin: InputParameters:
Target = Microsoft.Xrm.Sdk.Entity
FieldServicePlugin: OutputParameters:
FieldServicePlugin: SharedVariables:
DefaultsAddedFlag = True
FieldServicePlugin: UserId: aac9f0a5-1235-4d84-afb6-f249149e7f07
FieldServicePlugin: InitiatingUserID: aac9f0a5-1235-4d84-afb6-f249149e7f07
FieldServicePlugin: IsolationMode: 1
FieldServicePlugin: Mode: 0
FieldServicePlugin: OrganizationName: xxxxxxxxxxxx
FieldServicePlugin: OrganizationId: 5afccffe-1574-4eb8-8152-4682b25c025e
FieldServicePlugin: BusinessUnitId: e5d870b2-7317-e711-810c-1458d054d020
FieldServicePlugin: CorrelationId: f33bdc68-91c9-4a24-80a7-623c0e73ddc4
FieldServicePlugin: RequestId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: OperationId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: IsInTransaction: True
FieldServicePlugin: Depth: 2
FieldServicePlugin: IsExecutingOffline: False
FieldServicePlugin: Parent PluginContext Start
FieldServicePlugin: PluginContext Start
FieldServicePlugin: MessageName: Create
FieldServicePlugin: PrimaryEntityName: msdyn_fieldservicesystemjob
FieldServicePlugin: PrimaryEntityId: 9bddb798-b873-e711-811a-1458d04d95c0
FieldServicePlugin: SecondaryEntityName: none
FieldServicePlugin: Stage: 30
FieldServicePlugin: PreEntityImages.Count: 0
FieldServicePlugin: PostEntityImages.Count: 0
FieldServicePlugin: InputParameters:

Target = Microsoft.Xrm.Sdk.Entity
FieldServicePlugin: OutputParameters:
FieldServicePlugin: SharedVariables:
DefaultsAddedFlag = True
FieldServicePlugin: UserId: aac9f0a5-1235-4d84-afb6-f249149e7f07
FieldServicePlugin: InitiatingUserID: aac9f0a5-1235-4d84-afb6-f249149e7f07
FieldServicePlugin: IsolationMode: 1
FieldServicePlugin: Mode: 0
FieldServicePlugin: OrganizationName: xxxxxxxxxxxx
FieldServicePlugin: OrganizationId: 5afccffe-1574-4eb8-8152-4682b25c025e
FieldServicePlugin: BusinessUnitId: e5d870b2-7317-e711-810c-1458d054d020
FieldServicePlugin: CorrelationId: f33bdc68-91c9-4a24-80a7-623c0e73ddc4
FieldServicePlugin: RequestId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: OperationId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: IsInTransaction: True
FieldServicePlugin: Depth: 2
FieldServicePlugin: IsExecutingOffline: False
FieldServicePlugin: Parent PluginContext Start
FieldServicePlugin: PluginContext Start
FieldServicePlugin: MessageName: Create
FieldServicePlugin: PrimaryEntityName: account
FieldServicePlugin: PrimaryEntityId: 9addb798-b873-e711-811a-1458d04d95c0
FieldServicePlugin: SecondaryEntityName: none
FieldServicePlugin: Stage: 10
FieldServicePlugin: PreEntityImages.Count: 0
FieldServicePlugin: PostEntityImages.Count: 0
FieldServicePlugin: InputParameters:
Target = Microsoft.Xrm.Sdk.Entity
SuppressDuplicateDetection = False
FieldServicePlugin: OutputParameters:
FieldServicePlugin: SharedVariables:
DefaultsAddedFlag = True
BpfInjectProcessAttributes = False
FieldServicePlugin: UserId: 9b01aa35-734f-e711-8118-1458d04d06c0
FieldServicePlugin: InitiatingUserID: aac9f0a5-1235-4d84-afb6-f249149e7f07
FieldServicePlugin: IsolationMode: 1
FieldServicePlugin: Mode: 0
FieldServicePlugin: OrganizationName: xxxxxxxxxxxx
FieldServicePlugin: OrganizationId: 5afccffe-1574-4eb8-8152-4682b25c025e
FieldServicePlugin: BusinessUnitId: e5d870b2-7317-e711-810c-1458d054d020
FieldServicePlugin: CorrelationId: f33bdc68-91c9-4a24-80a7-623c0e73ddc4
FieldServicePlugin: RequestId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: OperationId: 70d9b603-63ff-4f11-a37a-3b98861ea7b4
FieldServicePlugin: IsInTransaction: True
FieldServicePlugin: Depth: 2
FieldServicePlugin: IsExecutingOffline: False
FieldServicePlugin: PluginContext End
FieldServicePlugin: Parent PluginContext End
FieldServicePlugin: PluginContext End
FieldServicePlugin: Parent PluginContext End
FieldServicePlugin: PluginContext End
FieldServicePlugin: PluginLocal.Create, Depth: 2
FieldServicePlugin: PluginLocal.Create, Depth: 2
FieldServicePlugin: Skipping initialization, entity is msdyn_fieldservicesystemjob with job type 2
FieldServicePlugin: ConfigurePluginFlagsSupportInternal()
FieldServicePlugin: CreateEntityOperation(msdyn_fieldservicesystemjob)
FieldServicePlugin: Operation type: FieldServiceSystemJobOperation
FieldServicePlugin: operation.Initialize()
FieldServicePlugin: InputEntity:
modifiedby = aac9f0a5-1235-4d84-afb6-f249149e7f07_systemuser[]
statecode = 0
modifiedon = 7/28/2017 5:17:17 PM
organizationid = 5afccffe-1574-4eb8-8152-4682b25c025e_organization[]
createdby = aac9f0a5-1235-4d84-afb6-f249149e7f07_systemuser[]
modifiedonbehalfby = 9b01aa35-734f-e711-8118-1458d04d06c0_systemuser[]
msdyn_jobtype = 2
createdon = 7/28/2017 5:17:17 PM
statuscode = 1
msdyn_jobstatus = 690970000
createdonbehalfby = 9b01aa35-734f-e711-8118-1458d04d06c0_systemuser[]
msdyn_fieldservicesystemjobid = 9bddb798-b873-e711-811a-1458d04d95c0
FieldServicePlugin: operation.Execute()
FieldServicePlugin: PluginStage: 20 MessageName: Create
FieldServicePlugin: Before calling message handler
FieldServicePlugin: Before
FieldServicePlugin: BeforeCreate
FieldServicePlugin: PluginLocal.Dispose, Depth: 2
FieldServicePlugin: PluginLocal.Dispose, Depth: 2
FieldServicePlugin:

Process action associated with this process is not activated.
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: Process action associated with this process is not activated. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).

FieldServicePlugin: PluginLocal.Dispose, Depth: 2
</TraceText>
</OrganizationServiceFault>

create quick create form from a button

$
0
0

Hi, I am looking to add a button on the ribbon to call the quick create form, is it possible, that is something I got to call the webapi?


how to reactivate task & appointment in a resolve case

$
0
0

Hi, when closing a case, the associated appointments and tasks will be cancelled automatically, is there anyway we can leave them open unless they are cancelled manually, how to achieve this through workflow or can we stop this system job? 

Dynamics CRM RDL files does not latest changes

$
0
0

When downloading a custom report as an RDL file, I found that the file does not contain the latest changes made to the report.

However, when running the report it is up to date.

I am not sure why this is the case.

Any help is much appreciated.

Reporting Authentication Issue - CRM 365 v8.2 and SQL 2016 same server

$
0
0

Background:

Our client has a single server (I recommended against this) with SQL 2016 and GP installed on it and they are using it as such.

1. They want to have a full install of CRM on this same box, very few users.

2. Reporting Services is already installed and was running under the local service account, but it was not configured.

3. I configured SSRS by your normal create the databases, hit the apply button a few times etc, all went well, I can log in etc, no SSL, port 80, defaults stuff.

4. I installed CRM, and installed the Reporting Extensions (all the 8.2 versions mind you after the initial 8.0 install of CRM, all went fine). It published the reports, and logging directly into SSRS I can see them all, looks normal. Installed CRM on port 80 as well, no SSL.

5. When I attempt to view one of the out of the box reports, any of them really, I get a couple of different errors in the event log. NOTE: (I'm attempting to view them from that server itself, not sure if that's an issue)

6. I tried setting the service account (through ssrs configuration manager) to just be network service, I checked and it is using NTLM in the config file, which is fine, client is not using ADFS or anything. Simple client and I thought for sure this simple setup would most likely work.

7. Running an ootb report, gives the following error in the event application log.

The first error received in the event log is given (from MSCRMReporting):

Web service request GetDataSourceContents to Report Server crmserv/.../ReportService2010.asmx failed with SoapException. Error: The report server has encountered a configuration error. 

8. If I check the security event log at the same time, the below shows up. I believe this is where the CRM Server itself is trying to take my user creds and pass it on. Same error if the service account for SSRS is changed to Network Service or Local System etc.

An account failed to log on.

Subject:
Security ID: NETWORK SERVICE
Account Name: CRMSERV$
Account Domain: MPA-PSI
Logon ID: 0x3E4

Logon Type: 3

Account For Which Logon Failed:
Security ID: NULL SID
Account Name:
Account Domain:

Failure Information:
Failure Reason: Unknown user name or bad password.
Status: 0xC000006D
Sub Status: 0xC0000064

Process Information:
Caller Process ID: 0x2d64
Caller Process Name: C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\bin\ReportingServicesService.exe

Network Information:
Workstation Name: CRMSERV
Source Network Address: -
Source Port: -

Detailed Authentication Information:
Logon Process: Authz
Authentication Package: Kerberos
Transited Services: -
Package Name (NTLM only): -
Key Length: 0

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

The Process Information fields indicate which account and process on the system requested the logon.

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.

I know i'm missing something probably pretty simple, again, no need for anything fancy here for this particular client. Thanks ahead of time for any input anyone has.

Create workflow to convert Option Sets data to number

$
0
0

Dear Dynamics 365 community,

I am looking for a way to create a workflow to:

1. Convert options sets values (1,2,3,4 or 5) to numbers

2. Addition all the value from the option sets (there is 6 fields with all the same 1-5 option set)

With the final result, we want to have an indicator of the ''value'' for a prospect. Like if we set each 6 fields to 1, the value would be 6 wich is super low and we would not put efforts with this prospect. 

I heard I would need to convert the data from the option sets fields to some dummy fields (hidden on the form) and then I would be able to addition these values. The problem is: I don't have any idea on how to do this and what would the workflow look like. 

I'm turning to you guys to help me creating the workflow wich would convert the option sets to number and then addition all the dummy field to get the value of the prospects.

Hope you can help me with this,

Derek

Is there a way to set contextual data for plugins to see when using a transaction? Shared Variable perhaps?

$
0
0

I'm using a transaction to send multiple requests as in the example here: https://msdn.microsoft.com/en-us/library/mt634414.aspx

We have a plugin that validates records based on data in other records (we have business rules about whether a record is "consistent" with other records of the same type, and whether records of a certain type are considered duplicates).

For my batch of records, I need to tell the plugin to ignore validation, since the records will be considered inconsistent and/or duplicate until after the entire batch is done updating.

My question is, is it possible to add a piece of data to the transaction to tell the plugin to ignore its validation check? I was hoping to set a Shared Variable when setting up the transaction but it doesn't look possible. Another possibility is ExtensionData on the transaction, but I can't figure out how to use it, and even if I do, I don't know whether it gets passed along the plugin pipeline.

If worse comes to worst, I'll create an attribute on my entity telling the plugin to ignore validation, and then let the plugin set this attribute back to "do validation," but that seems extremely klugey.

Any ideas?

Viewing all 46379 articles
Browse latest View live


Latest Images

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