Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Test web project Creating record in account

Posted on by 1,695

I am trying to get a test project to work after following a sample using SDK to insert a new account into CRM. There is only one user on the CRM  for the purpose of testing which is the system / Domain  Administrator, When I try to create the new account , I get an Access Denied response. I have tried using the entity name as 'account' and 'Account' and even used a spurious entity name, all with the same result. Can anyone point me in the  right direction to try and track down what the issue is. I'm presuming its with the connection. My development machine, CRM and SQL are all Virtual servers on the same domain

CRM v9 On premises

CrmHelper Class

 

Namespace CRMPortal3

    Module CRMHelperClass

         Function GetCRMService() As OrganizationService

            Dim crmConnection As CrmConnection = New CrmConnection("CRM")

            Return New OrganizationService(crmConnection)

        End Function

     End Module

End Namespace

Web Config

    add name="CRM" connectionString="URL=http://xxxxx.xxxxx.co.uk; Domain=xxxx; Username=Administrator; Password=xxxxxxx" 

  • Suggested answer
    Anks27 Profile Picture
    Anks27 1,083 on at
    RE: Test web project Creating record in account

    Hello,

    Can you please confirm that your connection to CRM is successful?

    Here is the link which you may refer:

    https://arunpotti.com/2018/02/03/step-by-step-to-connect-dynamics-365-crm-online-v9-x-using-c-console-application/

    Signed, Sealed and Delivered.

    Don't forget to help the community by Verifying the answer and Like it if your question has been answered. It will let others know that the topic has verified answer.

     

    Thanks & Regards,

    Ankit Shah(MCT-Microsoft Certified Trainer || Dynamics 365/Business Development Manager)

     

    Follow/Connect 101 on below

    LinkedIn:-   https://linkedin.com/in/dynamicpower101/

    Twitter:-     https://twitter.com/Dynamicpower101

    Facebook:- https://facebook.com/DynamicPower101/

    Telegram:- https://t.me/dynamicpower101

    Medium:-   https://medium.com/dynamicpower101

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans