Hi!
I have a problem with accessing to CRM via web services. I'm getting following error:
System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
CRM account used for connection has following permissions in Active Directory:
In CRM this user has System Administrator role assigned. Connection parameters are also OK (Organization service url and Discovery svc url, domain, account password).
What could be problem here?
I don't have any idea...
*This post is locked for comments
Just add the organization name Nb replace the ****
https://mycrm.com:444/******/XRMServices/2011/Organization.svc
Adding in the org name also worked for me. In my case it was connecting to the Organization.svc service and I just had to add it in as you suggest. For example:
Thanks,
Colin
does the environments are IFD enable ? are you using internal or external URL for web service?
I had the same problem.
I just forgot to add the organization-name to my url.
so instead of http://myserver:1234 just use http://myserver:1234/myorg
that did the trick for me.
Tobias
can you use same credentials on the Xrmtoolbox tool or plugin registration tool to check whether this credential has permission to get into the crm?
Did you ever figure this out? I am running into the same issue and it's driving me crazy. All perms are there.
User is only added in CRM with system administrator role. In AD he is only member of Domain Users and Reporting Groups.
Account of CRM application pool has all default groups assigned: domain\PrivReportingGroup, domain\ReportingGroup, domain\SQLAccessGroup
Does the user have access to the SQL instance and CRM database?
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156