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

Date format settings...

$
0
0

Hi All,

My first question here in the community, and it may be a little bit of a silly one, but I can't seem to work out how to change the fate formatting for my country. If I navigate to:

Settings -> Administration -> System Settings -> Formats

The format is what I want it to be:

So for short date YYYY-MM-DD, and for long date DD MMM YYYY (which is the default selection apparently for South Africa).

but when I open up an opportunity (or anything I have tested so far), it always displays like this:

So MM/DD/YYY.

How do I update this? I have tried customizing it in the Format section, but it gives me no options to do that:

Ie. Clicking on the date format only has the one option.

In terms of permissions, I have system administration rights.

I am completely stumped - any help would be really appreciated!


How to set custom lookup in crm 2015??

$
0
0

Hello Everyone,

 

i want to set custom lookup on change of one of the field on the form.

Please suggest me the way to achieve it in CRM 2015??

 

Thanks

who to create child workflow in 2015

$
0
0

cumstomer entity,

when status is  Changed to Expired / Cancelled. Child Entity Workflow trigger should de-activate all the entity  records linked to the customer entity...

thanks 

who to create child workflow in 2015

$
0
0

cumstomer entity, when status is Changed to Expired / Cancelled. Child Entity Workflow trigger should de-activate all the entity records linked to the customer entity... thanks

CRM Mobile application for IOS (Creation of a new draft not working)

$
0
0

Hello,

I have CRM Online 2015.

I created a new entity with fields in text and option set.

When I am on a CRM Mobile application on Android, I can create a new record even if I am deconnected --> creation of a draft.

But, when I am on an Ipad, I can't create a record when I am deconnected.  The option disapear. I made a test : being connected, asking for the creation of a new record, stopping the connection, saving the record in draft mode. But impossible to create a new one again.

 

Does anybody can help me ?

Thanks.

Email Templates - is there any way to restrict access by 'Team'/'Owner' of a Template

$
0
0

I know that email templates can be flagged as personal templates, or they are Global. Our business users use LOTS of templates across teams and the list is getting too long as everybody can see ALL templates. Is there ant way of restricting by Team or Owner ? Has anyone else had this issue and solved it ?

thanks,

Chris,

Why Is Internal CRM Address asking me for crendentials?

$
0
0

Hi Guys

I am going around in circles here but basically we were going to deploy an IFD CRM On-premises setup but due to costs we have decided to go against this after getting to the point of installing ADFS in our environment. 

So now we just want to connect simply by going to crm.mywebsite.co.uk (internally) on our network.

I have removed the certificate from the IIS bindings and also changed the IIS bindings to point at: crm.mywebsite.co.uk on port 80.


Inside the CRM Deployment it shows: crm.mywebsite.co.uk under HTTP Binding.

Each time i try and connect it asks me for credentials on the server and rejects me everytime. Locally on my machine it asks for credentials but lets me in fine.


Whats going on!?

Need help to Correct my script.

$
0
0

I m new in CRM. i tried to insert a field after the record is created.
Here is my code :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xrm.Sdk;
using System.ServiceModel;

namespace AddOrderNumber
{
    public class Class1 : IPlugin 
    {
        public void Execute(IServiceProvider serviceprovider)
        {
            ITracingService tracingservice = (ITracingService)serviceprovider.GetService(typeof(ITracingService));
            IPluginExecutionContext context = (IPluginExecutionContext)serviceprovider.GetService(typeof(IPluginExecutionContext));

            if (context.InputParameters.Equals("Target") && context.InputParameters["Target"] is Entity)
            {
                Entity entity = (Entity)context.InputParameters["Target"];

                if (entity.LogicalName == "new_callistyorder")
                {

                    string orderNumber = "ABC-1223-000";
                    try
                    {
                        if (entity.Attributes.Contains("new_nomororder"))
                        {
                            entity.Attributes["new_nomororder"] = orderNumber;
                        }
                        else
                        {
                            entity.Attributes.Add("new_nomororder", orderNumber);
                        }
                    }
                    catch (FaultException<OrganizationServiceFault> ex)
                    {
                        throw new InvalidPluginExecutionException("Plugin Eror", ex);
                    }
                    catch (Exception e)
                    {
                        tracingservice.Trace("System Eror", e.ToString());
                        throw;
                    }
                }
            }
        }
    }
}

But my scripts looks not worked, can you help me to find where is the false from my script?


Display "awarded competitor" on the opportunity Form

$
0
0

Hi everybody,

i need to show the value of the competitor in a field on the opporutnity form. By now if i close an opportunity and select a competitor the only way to see the value competitor inserted is to click on the activity that the system create after close an opportunity. In the Default solution the field which register the competitor is the entity Opportunty closed but i don't know how show the field on the opportunity form. Can sombody have a procedure or a workaround?

Thank you

Plugin Message Delete: Unable to deserialize the serialized value.

$
0
0

Hi,

I've created a plugin for phonecall entity to run on Create, Update and Delete messages. The Create and Update messages are working fine, however for the Delete I get the error "Unable to deserialize the serialized value. " when debugging it. It shows the exception even before the "Execute" function is triggered in my plugin. I have a "PreImage" registered on the "Delete" message. 

This is the full exception details:

Unhandled Exception: System.InvalidOperationException: Unable to deserialize the serialized value.
   at PluginProfiler.Plugins.ServiceWrappers.ExecutionContextWrapper.Deserialize(OperationType operation, String serializedValue)
   at PluginProfiler.Library.AppDomainProxy.Execute(ProfilerExecutionConfiguration configuration, ProfilerExecutionReport report)
   at PluginProfiler.Library.AppDomainProxy.Execute(ProfilerExecutionConfiguration configuration, ProfilerExecutionReport report)
   at PluginProfiler.Library.ProfilerExecutionEngine.Execute(ProfilerExecutionConfiguration configuration)
   at PluginProfiler.Library.ProfilerExecutionUtility.Execute(PluginPermissions permissions, ProfilerExecutionConfiguration configuration)
   at PluginProfiler.Library.ProfilerExecutionUtility.Execute(PluginPermissions permissions, OperationConfiguration operation, ProfilerReportingConfiguration reporting, CrmServiceClient administratorProxy, ITracingService tracing)
   at Microsoft.Crm.Tools.DebugPlugin.DebugPluginViewModel.btnExecutionClicked()
Inner Exception: System.Runtime.Serialization.SerializationException: Error in line 1 position 485. Element 'schemas.datacontract.org/.../System.Collections.Generic:value' contains data from a type that maps to the name 'schemas.microsoft.com/.../Contracts:ConcurrencyBehavior'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'ConcurrencyBehavior' and namespace 'schemas.microsoft.com/.../Contracts'.
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, String name, String ns)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
   at ReadKeyValuePairFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
   at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, String name, String ns)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
   at ReadParameterCollectionFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString , XmlDictionaryString , CollectionDataContract )
   at System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, String name, String ns)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
   at ReadPluginExecutionContextFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
   at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, String name, String ns)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, String name, String ns)
   at ReadPluginExecutionContextFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] )
   at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader)
   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, String name, String ns)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
   at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(Stream stream)
   at PluginProfiler.Plugins.PartialTrustSerializer.Deserialize(Type type, Byte[] value, Assembly proxyTypesAssembly)
   at PluginProfiler.Plugins.PartialTrustSerializer.Deserialize(Type type, String value, Assembly proxyTypesAssembly)
   at PluginProfiler.Plugins.ServiceWrappers.ExecutionContextWrapper.Deserialize(OperationType operation, String serializedValue)


Integration of Microsoft dynamic crm in php

$
0
0

Hi

I am trying to integrate microsoft dynamic crm with php. I have successfully got the userid and username with whoami request. but I do not know how to use all its other requests like as retrievemultiple etc. Can somebody please help me integrating it.

Best regards

Keshvender Singh

How do I use decimals for product quantity?

$
0
0

Hi,

I'm adding some products to my CRM online instance. I'm having trouble setting them up so that I can use decimals for product quantity such as; 0.25, 0.50 or 0.75 when adding products to quotes, orders, invoices etc.

I've created a unit group called 'Hourly Unit' with a default unit of 'Hour'.

I've created various products such as "out of hours remote support" and "out of hours on-site support". In these products I've set 'Decimals Supported' to '2'.

I've added my products as items in the Standard Pricelist and set 'Quantity Selling Option' to 'Whole and Fractional'.

From what I understand, the above should allow me to choose a product quantity of 0.25 etc when adding a product to an invoice? The problem is that when I do this, the decimal numbers are rounded up or down (i.e. 0.25 becomes 0 and 0.75 would become 1.)

Can anybody explain why this is happening? Have I got the wrong idea about selling fractions?

Thanks,

James

Workflow to send mail whenever a record is added to a sub-grid

$
0
0

I have a custom Document form with a sub-grid that associates custom Member records with a Document record.

Now my challenge is how to create a workflow that sends a mail whenever a Member is added to the subgrid.

Is there any way to achieve this?

ADFS Issue - 2015 Onpremises 'Your server is not available or does not support this application' error with MSCRM App.

$
0
0

HI Experts,

I installed 2015 Onpremises & ADFS on the same Windows Server 2012, single server hosting precisely.

Its working fine on Web and when trying to access from App we are getting "Your server is not available or does not support this application" error. 

We don't know if there are any rules configuring ADFS and CRM on same server. Checking the event logs on server, we encountered couple of issues regarding ADFS. I am posting the complete errors below

Issue 1 :

The Federation Service encountered an error while processing the WS-Trust request.
Request type: schemas.microsoft.com/.../issue

Additional Data
Exception details:
Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountValidationException: MSIS3173: Active Directory account validation failed. ---> Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException: Exception of type 'Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException' was thrown.
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.GetLdapAttributeStoreForDomain(String domainFlatName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.ReaderFactory(String userName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.LdapAttributeStore.BeginExecuteQuery(String query, String[] parameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.Configuration.ADAttributeStoreLookupUtility.BeginQuery(String query, String[] queryParameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)
--- End of inner exception stack trace ---
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.GetUserUpns(IClaimsIdentity identity)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.UpdatePrincipalWithUpn(IClaimsPrincipal principal)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Web.WSTrust.SecurityTokenServiceManager.Issue(RequestSecurityToken request, IList`1& identityClaimSet)

Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException: Exception of type 'Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException' was thrown.
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.GetLdapAttributeStoreForDomain(String domainFlatName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.ReaderFactory(String userName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.LdapAttributeStore.BeginExecuteQuery(String query, String[] parameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.Configuration.ADAttributeStoreLookupUtility.BeginQuery(String query, String[] queryParameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)

Issue 2 :

The Federation Service failed to find a domain controller for the domain NT AUTHORITY.

Additional Data
Domain Name: NT AUTHORITY
Error: 1212

User Action
Use Nltest to determine why DC locator is failing. Nltest is part of the Windows Support Tools.

Issue 3 :

Encountered error during federation passive request.

Additional Data

Protocol Name:
wsfed

Relying Party:
https://xxxxxxx.devtpit.com/

Exception details:
Microsoft.IdentityServer.RequestFailedException: MSIS7012: An error occurred while processing the request. Contact your administrator for details. ---> Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountValidationException: MSIS3173: Active Directory account validation failed. ---> Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException: Exception of type 'Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException' was thrown.
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.GetLdapAttributeStoreForDomain(String domainFlatName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.ReaderFactory(String userName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.LdapAttributeStore.BeginExecuteQuery(String query, String[] parameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.Configuration.ADAttributeStoreLookupUtility.BeginQuery(String query, String[] queryParameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)
--- End of inner exception stack trace ---
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.GetUserUpns(IClaimsIdentity identity)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.UpdatePrincipalWithUpn(IClaimsPrincipal principal)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Web.WSTrust.SecurityTokenServiceManager.Issue(RequestSecurityToken request, IList`1& identityClaimSet)
at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.SubmitRequest(MSISRequestSecurityToken request, IList`1& identityClaimCollection)
at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.RequestBearerToken(MSISRequestSecurityToken signInRequest, Uri& replyTo, IList`1& identityClaimCollection)
at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.RequestSingleSingOnToken(ProtocolContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSsoSecurityToken(WSFederationSignInContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken, SecurityToken& ssoSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSignInResponseCoreWithSecurityToken(WSFederationSignInContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSignInResponse(WSFederationSignInContext federationPassiveContext, SecurityToken securityToken, SecurityToken deviceSecurityToken)
--- End of inner exception stack trace ---
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSignInResponse(WSFederationSignInContext federationPassiveContext, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.Process(ProtocolContext context)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest(ProtocolContext protocolContext, PassiveProtocolHandler protocolHandler)
at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountValidationException: MSIS3173: Active Directory account validation failed. ---> Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException: Exception of type 'Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException' was thrown.
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.GetLdapAttributeStoreForDomain(String domainFlatName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.ReaderFactory(String userName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.LdapAttributeStore.BeginExecuteQuery(String query, String[] parameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.Configuration.ADAttributeStoreLookupUtility.BeginQuery(String query, String[] queryParameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)
--- End of inner exception stack trace ---
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.GetUserUpns(IClaimsIdentity identity)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.UpdatePrincipalWithUpn(IClaimsPrincipal principal)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Web.WSTrust.SecurityTokenServiceManager.Issue(RequestSecurityToken request, IList`1& identityClaimSet)
at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.SubmitRequest(MSISRequestSecurityToken request, IList`1& identityClaimCollection)
at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.RequestBearerToken(MSISRequestSecurityToken signInRequest, Uri& replyTo, IList`1& identityClaimCollection)
at Microsoft.IdentityServer.Web.Protocols.PassiveProtocolHandler.RequestSingleSingOnToken(ProtocolContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSsoSecurityToken(WSFederationSignInContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken, SecurityToken& ssoSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSignInResponseCoreWithSecurityToken(WSFederationSignInContext context, SecurityToken securityToken, SecurityToken deviceSecurityToken)
at Microsoft.IdentityServer.Web.Protocols.WSFederation.WSFederationProtocolHandler.BuildSignInResponse(WSFederationSignInContext federationPassiveContext, SecurityToken securityToken, SecurityToken deviceSecurityToken)

Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException: Exception of type 'Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.AttributeStoreDSGetDCFailedException' was thrown.
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.GetLdapAttributeStoreForDomain(String domainFlatName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.EnterpriseLdapAttributeStore.ReaderFactory(String userName)
at Microsoft.IdentityServer.ClaimsPolicy.Engine.AttributeStore.Ldap.LdapAttributeStore.BeginExecuteQuery(String query, String[] parameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.Configuration.ADAttributeStoreLookupUtility.BeginQuery(String query, String[] queryParameters, AsyncCallback callback, Object state)
at Microsoft.IdentityServer.Service.SecurityTokenService.ADAccountLookup.RetrieveAdAttributes(String query, IEnumerable`1 queryParameters).

Please let us know where we are doing it wrong.

Regards,

Veerendra.B

 

 

 

Fetch current organization

$
0
0

Hi ,

I am using silverlight application and i want to fetch current organization(serverUrl) used by user.how can I fetch .

I want to use this in Xaml page.

suppose in javascript we are using

 var serverUrl = location.protocol + "//" + location.host;

exactly i perform this but using silverlight application how can I achieve?

Can you please help  me?


Email is not send to end users.

$
0
0

Hi

i am trying to send emails to end users, but it got stucked in email activities showing the status in draft.

 

please tell me if anybody has solution on it.

How to make a report, and group it by different due dates?

$
0
0

Hi guys, 

I'm back to making reports on CRM and i feel like I've forgot everything i learned. 

I have a report that i'm trying to organize by customer and their due dates for a payment increase ( this is just a date field). I want to group this report by four different date ranges(quarters) based on the payment increase date field. 

So, in the end, i'm hoping the report would show me quarter 1, and which customers are due for a increase, then it would show me qtr 2  and those customers needing an increase and etc...

Can anyone explain to me how to set this up? 

Thanks for all the help - i really appreciate it!

Kim

user has 2 CRM accounts? he left our company, then came back... now CRM 2011 wont authenticate?

$
0
0

we have a user that was with our company years ago, had a CRM account in 4.0, he left our company. he was disabled in 4.0, and eventually his AD account was removed. Well, about a year after his account was removed, he came back to the company, he was setup in CRM 4.0 and all was good. He has been working right along.

This past weekend i performed a migration to CRM 2011, and this user cannot access the new CRM server? i see where there are 2 accounts for him in the CRM system, 1 is disabled, and the other is active, but i guess not mapped to a user.

Any ideas?

CRM 2015 online Solution import failed

$
0
0

I am trying to import unmanaged solution in Test Environment(2015 online update) and the Import is failed due to Workflow(but it is a business rule)

Error is 0x80040217 processtrigger With Id = [GUID] Does Not Exist

I checked in DEV & TEST environment and both environments have this Business rules with same GUID and Same GUID for processtrigger.

Note : The same solution i tried to imported couple of weeks back from Dev to Test and it was successful. 

Import is being failed if solution contains entity(System or Custom) with Business Rules. Even solution import fails even if the solution is imported to same environment(DEV) from where it is exported. 

Import is being successful if solution contains entity(System or Custom) with no Business Rules.

Any help is appreciated.

Thanks In advance.

Hari.

allow and block user access

$
0
0

My server: On prem CRM 2013 Service Pack 1 Update Rollup 2

I am trying to block users from viewing accounts owned by other users but allow all users to view accounts owned by one specific user.

So I was able to do the first part using security roles set to "read privilege on account is set to user" but I cannot allow access to that specific user since all is blocked.

Any help will be greatly appreciated.

Viewing all 87499 articles
Browse latest View live


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