Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : iPqVbPxqkksGrYCKAmuz8s
Microsoft Dynamics CRM (Archived)

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

Like (0) ShareShare
ReportReport
Posted on 15 Jan 2014 11:05:25 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

  • Suggested answer
    Community Member Profile Picture
    on 07 May 2018 at 09:02:53
    RE: 'Access is denied' error during connect to CRM web services

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

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

  • Colin Millar Profile Picture
    on 19 Oct 2015 at 09:39:18
    RE: 'Access is denied' error during connect to CRM web services

    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 04 Sep 2015 at 17:46:51
    RE: 'Access is denied' error during connect to CRM web services

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

  • T.Koller Profile Picture
    145 on 04 Sep 2015 at 13:57:32
    RE: 'Access is denied' error during connect to CRM web services

    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 25 Sep 2014 at 17:04:39
    RE: 'Access is denied' error during connect to CRM web services

    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 25 Sep 2014 at 16:20:21
    RE: 'Access is denied' error during connect to CRM web services

    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 15 Jan 2014 at 19:11:44
    RE: 'Access is denied' error during connect to CRM web services

    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 15 Jan 2014 at 11:59:33
    RE: 'Access is denied' error during connect to CRM web services

    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

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete