Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

I can't log into Plug-In Registration Tool. Error.

Posted on by 35

HI. I'm trying to log into the Plug-in registration tool. I use this to register plug-in webhooks with DataVerse from Power Apps. When I download the tool and I try to log into the environment with my username and password.. which is the one from the Power Apps environment I get the following connectivity error. Can anybody help me with this?

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Principal user (Id=0ba7d097-96ab-ec11-983f-0022480b6c03, type=8, roleCount=5, privilegeCount=1016, accessMode=0), is missing prvReadCustomAPI privilege (Id=9ef7e18d-a06a-45fd-8ac4-18a714b2aaa8) on OTC=10068 for entity 'customapi' (LocalizedName='Custom API'). context.Caller=0ba7d097-96ab-ec11-983f-0022480b6c03
Detail: <OrganizationServiceFault xmlns="">schemas.microsoft.com/.../Contracts" xmlns:i="">www.w3.org/.../XMLSchema-instance">
<ActivityId>13899281-5829-4a56-902c-c48538db2a41</ActivityId>
<ErrorCode>-2147220960</ErrorCode>
<ErrorDetails xmlns:a="">schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<a:key>ApiExceptionSourceKey</a:key>
<a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<a:key>ApiSourceActivityKey</a:key>
<a:value i:type="b:string" xmlns:b="">www.w3.org/.../XMLSchema" />
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<a:key>ApiExceptionOwnerKey</a:key>
<a:value i:type="b:string" xmlns:b="">www.w3.org/.../a:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>

  • Daedalus Profile Picture
    Daedalus 35 on at
    RE: I can't log into Plug-In Registration Tool. Error.

    Thank you. I checked in the user settings and I have my user configured as System Administrator. Its also has Read/Write privileges. I look more into the problem later.

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: I can't log into Plug-In Registration Tool. Error.

    Hi,

    Please check if you have system admin role assigned to you in your instance .

  • Verified answer
    - Matt Bayes - Profile Picture
    - Matt Bayes - 890 on at
    RE: I can't log into Plug-In Registration Tool. Error.

    Hey Daedalus,

    Looking at the error, it appears the user account in which you are logging in with does not have READ access to the Custom API table.

    This table was introduced in newer versions of the Dataverse.

    In order to rectify the issue, you will have to either adjust the security role(s) for your particular user so that it has READ access to the Custom API table or add a role to that user record that already has the proper access, such as System Administrator.

    If you already have the System Administrator security role added then this is a larger issue, but my thought would be you do not and the options above should solve your problem.

    For your knowledge, based on the error message, this line gives us the issue at hand:

    Principal user (Id=0ba7d097-96ab-ec11-983f-0022480b6c03, type=8, roleCount=5, privilegeCount=1016, accessMode=0), is missing prvReadCustomAPI privilege.

    The orange highlighted area is the GUID of the User record in the system, and the green highlighted is the name of the privilege that the user is missing (prvReadCustomAPI = Read Privilege for the Custom API table).

    Adding READ permission to this table for this user may still give you an error if there are other missing permissions, so understanding the line above will help you hopefully add all of the required permissions in order to connect to the Plugin Registration Tool.

    If you have any more questions don't hesitate to ask!

    Thanks!


    Matt Bayes

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans