{"id":1926,"date":"2019-08-20T17:26:24","date_gmt":"2019-08-20T21:26:24","guid":{"rendered":"https:\/\/toddbaginski.com\/blog\/?p=1926"},"modified":"2019-08-20T17:26:24","modified_gmt":"2019-08-20T21:26:24","slug":"powerapps-common-data-service-cds-security","status":"publish","type":"post","link":"https:\/\/toddbaginski.com\/blog\/powerapps-common-data-service-cds-security\/","title":{"rendered":"PowerApps Common Data Service (CDS) Security"},"content":{"rendered":"<p>In this video I demonstrate how to secure and share Canvas PowerApps that use the Common Data Service (CDS) 2.0 data source.<\/p>\n<p>The following topics are discussed and demonstrated:<\/p>\n<ul>\n<li>How to interpret and troubleshoot CDS entity permission errors.<\/li>\n<li>How to share Canvas PowerApps that use CDS data sources.<\/li>\n<li>How to create custom CDS security roles.<\/li>\n<li>How to specify CDS Entity access permissions in CDS security roles.<\/li>\n<li>How to apply custom CDS security roles to users when sharing PowerApps.<\/li>\n<li>How to connect the XrmToolBox to a CDS instance.<\/li>\n<li>How to use the XrmToolBox to view what security roles are applied to a user.<\/li>\n<li>How to use the XrmToolBox to change what security roles are applied to a user.<\/li>\n<li>How to package CDS security roles in PowerApps Solutions.<\/li>\n<\/ul>\n<p>If you are getting an error that looks similar to the one you see below, then this video can help you fix it!<\/p>\n<p><b>You don&#8217;t have permission to view this data. Server Response: Principal user (Id=, type=8, roleCount=1, privilegeCount=405, accessMode=0, is missing prvRead privilege (Id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) on OTC=10043. context.Caller=<\/b><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/5gIwP4bnPy4\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this video I demonstrate how to secure and share Canvas PowerApps that use the Common Data Service (CDS) 2.0 data source. The following topics are<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":1,"featured_media":1932,"comment_status":"open","ping_status":"open","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":[103,120,104,121],"tags":[128,42,131,113,122,45,112],"class_list":["post-1926","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-flow","category-office-365","category-powerapps","tag-cds","tag-cloud","tag-common-data-service","tag-flow","tag-how-to-powerapps","tag-o365","tag-powerapps"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/1926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/comments?post=1926"}],"version-history":[{"count":5,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/1926\/revisions"}],"predecessor-version":[{"id":1931,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/posts\/1926\/revisions\/1931"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media\/1932"}],"wp:attachment":[{"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/media?parent=1926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/categories?post=1926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toddbaginski.com\/blog\/wp-json\/wp\/v2\/tags?post=1926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}