web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

'Access is denied' error during connect to CRM web services

(0) ShareShare
ReportReport
Posted on by 250

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:

  • Domain Users
  • Reporting Group 

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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Just add the organization name  Nb replace the ****

    https://mycrm.com:444/******/XRMServices/2011/Organization.svc

  • Colin Millar Profile Picture
    on at

    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:

    xyz/.../Organization.svc

    Thanks,

    Colin

  • MilindP Profile Picture
    1,019 on at

    does the environments are IFD enable ? are you using internal or external URL for web service?

  • T.Koller Profile Picture
    145 on at

    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

  • Royal King Profile Picture
    27,686 on at

    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?

  • bkelly3 Profile Picture
    5 on at

    Did you ever figure this out?  I am running into the same issue and it's driving me crazy.  All perms are there.

  • lazarus987 Profile Picture
    250 on at

    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

  • Hosk Profile Picture
    on at

    Does the user have access to the SQL instance and CRM database?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#3
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans