{"id":2447,"date":"2016-02-19T15:30:39","date_gmt":"2016-02-19T10:00:39","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=2447"},"modified":"2022-09-02T15:36:33","modified_gmt":"2022-09-02T10:06:33","slug":"error-principal-user-is-missing-prvreadaccount-privilege-resolved","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2016\/02\/error-principal-user-is-missing-prvreadaccount-privilege-resolved\/","title":{"rendered":"Error \u2018Principal user is missing prvReadAccount privilege\u2019 resolved"},"content":{"rendered":"<p><b>Introduction:<\/b><\/p>\n<p>Data migration needs to carried out carefully when you are adopting a new system. If it doesn\u2019t get the attention it deserves, then it can increase the exposure to several risks.<\/p>\n<p>During data migration, you might probably face various errors while transferring data. \u2018Principal user is missing prvReadAccount privilege\u2019 being one of the most common of them. This error is not really restricted to Data migration and can be observed in other normal operations of Dynamics CRM as well if not correctly configured.<\/p>\n<p>Let\u2019s look at the reason behind this error.<\/p>\n<p><b>The main cause of the error is that the owner is assigned with a security role other than System Administrator and has not been given the read-write privileges for the particular entity.<\/b><\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image0022.jpg\"><img decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"Data Migration\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image002_thumb2.jpg\" alt=\"clip_image002\" width=\"602\" height=\"221\" border=\"0\" \/><\/a><\/p>\n<p>While migrating data from one system to the other, ensure that the Security role of the users is set as <b>\u2018System Administrator\u2019<\/b> or one that provides enough privileges to the user to own the data that the migration process is trying to assign. If you don\u2019t set the appropriate security role, you may face an error <b><i>\u2018<\/i><\/b><b><i>Principal user (Id=52660a18-e5c8-4a92-aabc-477b887e2612, type=8) is missing prvReadAccount privilege (Id=886b280c-6396-4d56-a0a3-2c1b0a50ceb0)\u2019<\/i><\/b> or a similar error with respect to missing privileges for other entities.<\/p>\n<p>But, this isn\u2019t enough to eliminate the error. In one of our scenarios we noticed that even after the user was assigned the <b>\u2018System Administrator\u2019<\/b> security role, we were receiving the above error. Further investigation led to the discovery that the user was not given the read-write permissions. This could be done through the read-write access mode.<\/p>\n<p>Let\u2019s take a look at how this could be done.<\/p>\n<p>As shown in the screenshot below, you see that the access mode is set as <b>\u2018Administrative\u2019<\/b><\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image0042.jpg\"><img decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image004_thumb2.jpg\" alt=\"CRM Data Migration\" width=\"520\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p>With \u201cAdministrative\u201d access mode, a license is not assigned to this user. This mode provides restricted access to the users and they cannot use CRM to perform normal CRM operations like create\/update CRM records.<\/p>\n<p>This usually happens when a new user has been added through the Online Portal but no license had been assigned. To change the access mode, you need to assign a license from the CRM Online portal. Follow the steps below to assign a license.<\/p>\n<p>\u00b7 Login to Office 365 Portal and go to \u201cUSERS\u201d in the left pane:<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image006.gif\"><img decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image006_thumb.gif\" alt=\"Dynamics CRM Data Migration\" width=\"630\" height=\"217\" border=\"0\" \/><\/a><\/p>\n<p>\u00b7 Click on Assign user Licenses.<\/p>\n<p>\u00b7 Once you click on this, you should be able to see the below screen.<\/p>\n<p>Now go to Active Users and select the user to whom you want to assign the license.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image008.gif\"><img decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image008_thumb.gif\" alt=\"Migrate crm data\" width=\"630\" height=\"256\" border=\"0\" \/><\/a><\/p>\n<p>\u00b7 As you can see in the above screenshot, the user \u201cTest User\u201d has no license assigned.<\/p>\n<p>So click on \u201cEdit\u201d and fill the necessary information and click on \u201cSave<b>\u201d<\/b>.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image010.gif\"><img decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"clip_image010\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image010_thumb.gif\" alt=\"CRM Data migration\" width=\"630\" height=\"227\" border=\"0\" \/><\/a><\/p>\n<p>This way the license has been assigned to the user \u201cTest User\u201d.<\/p>\n<p>Once you assign the license for the user it will change the access mode for that user to \u201c<b>Read-Write<\/b>\u201d and now you should be able to migrate the records which are owned by the user without any error.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image0122.jpg\"><img decoding=\"async\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border: 0px;\" title=\"clip_image012\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/02\/clip_image012_thumb2.jpg\" alt=\"migrate from crm on premises to online\" width=\"580\" height=\"342\" border=\"0\" \/><\/a><\/p>\n<p><b>Conclusion:<\/b><\/p>\n<p>While shifting from a legacy system to a new system, it is important to manage the user roles prudently. Besides, you can decide on which users should be given the privilege to access the data. After all, data consistency and sanctity is of paramount importance to you as a business owner.<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\">Generate Your Own New Leads Within Microsoft Dynamics 365 CRM<\/div><\/div><\/h2>\n<p><em>Contact us for a <a href=\"https:\/\/www.maplytics.com\/maplytics-download\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">demo<\/a> to know more about how <a href=\"https:\/\/www.maplytics.com\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">Maplytics<\/a> can help you to generate new leads from within Microsoft Dynamics 365 CRM.<\/em><\/p>\n<p><em><a href=\"https:\/\/www.maplytics.com\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">Maplytics<\/a> is a 5-star rated, preferred business app on the <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.f6f3c73f-29de-4fa8-a396-87ea8a07b6c4?tab=Overview\" target=\"_blank\" rel=\"noopener\">Microsoft AppSource<\/a> that is Certified for Microsoft Dynamics 365 (CfMD) and comes with powerful features like Appointment Planning, Sales Routing, Territory Management, Heat Maps, Geo-analytical Dashboards and more that empower organizations to add more value to their CRM data, improve sales &amp; service processes, and achieve high ROI.<\/em><\/p>\n<p><em>Get your <a href=\"https:\/\/www.maplytics.com\/maplytics-download\/?utm_source=highvisits&amp;utm_medium=technicalblog&amp;utm_campaign=hMaplytics\" target=\"_blank\" rel=\"noopener\">free trial<\/a> from our Website or <a href=\"https:\/\/appsource.microsoft.com\/en-us\/product\/dynamics-365\/inogic.f6f3c73f-29de-4fa8-a396-87ea8a07b6c4?tab=Overview\" target=\"_blank\" rel=\"noopener\">Microsoft AppSource<\/a>!<\/em><\/p>\n<p><em>&#8216;If data is the new oil, location intelligence is ??\u201d<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Data migration needs to carried out carefully when you are adopting a new system. If it doesn\u2019t get the attention it deserves, then it can increase the exposure to several risks. During data migration, you might probably face various errors while transferring data. \u2018Principal user is missing prvReadAccount privilege\u2019 being one of the most\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2016\/02\/error-principal-user-is-missing-prvreadaccount-privilege-resolved\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,57],"tags":[401,1185,1381],"class_list":["post-2447","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","category-ssis","tag-crm-data-transferring-error","tag-missing-prvreadaccount-privilege-in-crm","tag-prvreadaccount-privilege-error-in-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/2447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=2447"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/2447\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=2447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=2447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=2447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}