{"id":4318,"date":"2022-08-20T08:08:56","date_gmt":"2022-08-20T08:08:56","guid":{"rendered":"https:\/\/himbap.com\/blog\/?p=4318"},"modified":"2022-08-20T08:08:56","modified_gmt":"2022-08-20T08:08:56","slug":"custom-security-role-is-not-available-while-sharing-app","status":"publish","type":"post","link":"https:\/\/himbap.com\/blog\/?p=4318","title":{"rendered":"Custom security role is not available while sharing app"},"content":{"rendered":"<p><strong>Requirement<\/strong><br \/>\nSharing custom model driven app with user using specific security role.<\/p>\n<p><strong>Details<\/strong><br \/>\nLet say we have created a new security role called HIMBAP QA in our model driven app and we want to share our custom model driven with user with this security role assigned. So let try that.<\/p>\n<p>1. Navigate to https:\/\/make.powerapps.com\/, select your environment -&gt; app -&gt; Share<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4320 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp1-300x213.png\" alt=\"shareapp1\" width=\"300\" height=\"213\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp1-300x213.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp1-1024x728.png 1024w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp1-624x444.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp1.png 1357w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>2. Select user and try to share app using new security role<\/p>\n<p><a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4321 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp2-300x159.png\" alt=\"shareapp2\" width=\"300\" height=\"159\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp2-300x159.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp2-1024x541.png 1024w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp2-624x330.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp2.png 1457w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You will notice that security role is not available under the drop down. To bring your security role under this list first you have to share your app with that security role using below steps<br \/>\n<a href=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4322 aligncenter\" src=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp3-300x160.png\" alt=\"shareapp3\" width=\"300\" height=\"160\" srcset=\"https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp3-300x160.png 300w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp3-1024x545.png 1024w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp3-624x332.png 624w, https:\/\/himbap.com\/blog\/wp-content\/uploads\/2022\/08\/shareapp3.png 1508w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>After that try again step 2 and now you should be able to see new security role listed while sharing app with that user.<\/p>\n<p><strong>Summary<\/strong><br \/>\nIn order to use new security role while sharing app with the user, first we need to add our new security role to the app.<\/p>\n<p>Hope it will help someone !!<br \/>\n<strong>Keep learning and Keep Sharing !!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Requirement Sharing custom model driven app with user using specific security role. Details Let say we have created a new security role called HIMBAP QA in our model driven app and we want to share our custom model driven with user with this security role assigned. So let try that. 1. Navigate to https:\/\/make.powerapps.com\/, select your environment -&gt; app -&gt;&#8230; <a href=\"https:\/\/himbap.com\/blog\/?p=4318\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,522],"tags":[979,978],"_links":{"self":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4318"}],"collection":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4318"}],"version-history":[{"count":3,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4318\/revisions"}],"predecessor-version":[{"id":4324,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4318\/revisions\/4324"}],"wp:attachment":[{"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/himbap.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}