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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

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

(0) ShareShare
ReportReport
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>

I have the same question (0)
  • Verified answer
    - Matt Bayes - Profile Picture
    890 on at

    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

  • Verified answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

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

  • Daedalus Profile Picture
    35 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans