{"id":1034,"date":"2020-04-27T08:00:42","date_gmt":"2020-04-27T14:00:42","guid":{"rendered":"https:\/\/practicalpowershell.com\/?p=1034"},"modified":"2020-04-18T15:54:56","modified_gmt":"2020-04-18T21:54:56","slug":"cmdlet-powershell-permissions-fix-for-scc","status":"publish","type":"post","link":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/","title":{"rendered":"Cmdlet PowerShell Permissions &#8211; &#8216;Fix&#8217; for SCC"},"content":{"rendered":"<p>For a while now I have had issues with gathering permissions that are required to run cmdlets in the Security and Compliance Center.  Basically any query that is made ends up with a Watson error.  However, I may have found a workaround. It is convoluted as it requires another connection to another PowerShell module in Office 365 (in my test case, Exchange Online).  Here is my test methodology.<BR><br \/>\n<i>Connection to the SCC<\/i><BR><br \/>\nOnce we have a PowerShell session connected to the Security and Compliance Center, we can attempt to get permissions using this method:<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nGet-ManagementRole -Cmdlet &lt;name of cmdlet to check&gt;<br \/>\n[\/sourcecode]<br \/>\nSome sample test values (error messages received):<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nGet-ManagementRole -Cmdlet  Add-ComplianceCaseMember<br \/>\n[\/sourcecode]<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?resize=640%2C166&#038;ssl=1\" alt=\"\" width=\"640\" height=\"166\" class=\"aligncenter size-large wp-image-1042\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?resize=300%2C78&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?resize=768%2C199&amp;ssl=1 768w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?resize=600%2C155&amp;ssl=1 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nTry one more cmdlet:<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nGet-ManagementRole -Cmdlet  Remove-ComplianceSecurityFilter<br \/>\n[\/sourcecode]<br \/>\nAnd:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-02.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-02.jpg?resize=640%2C166&#038;ssl=1\" alt=\"\" width=\"640\" height=\"166\" class=\"aligncenter size-large wp-image-1041\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-02.jpg?w=807&amp;ssl=1 807w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-02.jpg?resize=300%2C78&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-02.jpg?resize=768%2C199&amp;ssl=1 768w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-02.jpg?resize=600%2C155&amp;ssl=1 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nWhat is the fix or workaround?  Logging into Exchange Online PowerShell &#8230; <BR><br \/>\nOnce connected, we can query the permissions.  One note is that this is not 100% full proof.  For example, the Remove-ComplianceSecurityFilter cmdlet, when queried, shows no Role Group Members.  <\/p>\n<p>We should validate that the cmdlets are still of the correct module as we now have a second module in place and we want to validate that the cmdlets referenced are from the SCC PowerShell and not ExO?  We would query a list of Security and Compliance Center cmdlets via the &#8216;Source&#8217; of the cmdlet.  What is the source?  It is the module a cmdlet is a part of.  For example.  When we connect to Exchange Online or the Security and Compliance Center, we see a module name listed:<BR><br \/>\nExchange Online Example:<BR><br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-05.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-05.jpg?resize=640%2C58&#038;ssl=1\" alt=\"\" width=\"640\" height=\"58\" class=\"aligncenter size-large wp-image-1038\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-05.jpg?w=812&amp;ssl=1 812w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-05.jpg?resize=300%2C27&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-05.jpg?resize=768%2C69&amp;ssl=1 768w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-05.jpg?resize=600%2C54&amp;ssl=1 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nSecurity and Compliance Center Example:<BR><br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-06.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-06.jpg?resize=640%2C46&#038;ssl=1\" alt=\"\" width=\"640\" height=\"46\" class=\"aligncenter size-large wp-image-1037\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-06.jpg?w=814&amp;ssl=1 814w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-06.jpg?resize=300%2C21&amp;ssl=1 300w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-06.jpg?resize=768%2C55&amp;ssl=1 768w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-06.jpg?resize=600%2C43&amp;ssl=1 600w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nKeep in mind that this name will change every time you connect to any workload in Office 365 via PowerShell.   In order to validate we have the right cmdlet, let&#8217;s get a list of all SCC cmdlets:<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\n$Commands = Get-command | Where {$_.Source -eq &#039;tmp_bo0pq1tq.yyj&#039;}<br \/>\n[\/sourcecode]<br \/>\nThis will pull all those cmdlets and store them in the $Commands variable.  We can then loop through that and check each cmdlet for permissions:<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\nForeach ($Command in $Commands) {<br \/>\n\t$Name = $Command.Name<br \/>\n\tWrite-Host $Name -ForegroundColor Magenta<br \/>\n\tGet-Manag,br.ementRole -Cmdlet $Name;Write-Host &#039;&#039;<br \/>\n}<br \/>\n[\/sourcecode]<br \/>\nNow we get output like this:<BR><br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-07.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-07.jpg?resize=464%2C568&#038;ssl=1\" alt=\"\" width=\"464\" height=\"568\" class=\"aligncenter size-large wp-image-1036\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-07.jpg?w=464&amp;ssl=1 464w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-07.jpg?resize=245%2C300&amp;ssl=1 245w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-07.jpg?resize=300%2C367&amp;ssl=1 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/a><br \/>\nNotice  that this is still not ideal.  We are not getting permissions for all cmdlets.  You should be able to verify this in your tenant.  I have been able to reproduce this in two different production tenants.  Now, if we want a good reference test, we can look to perform the same actions for Exchange cmdlets.<br \/>\n[sourcecode language=&#8221;powershell&#8221;]<br \/>\n$Module = &#039;tmp_5irlwytv.yab&#039;<br \/>\n$Commands = Get-command | Where {$_.Source -eq $Module}<br \/>\nForeach ($Command in $Commands) {<br \/>\n\t$Name = $Command.Name<br \/>\n\tWrite-Host $Name -ForegroundColor Magenta<br \/>\n\tGet-ManagementRole -Cmdlet $Name;Write-Host &#039;&#039;<br \/>\n}<br \/>\n[\/sourcecode]<br \/>\nWhat do we see? [HINT: Better results!]:<br \/>\n<a href=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-08.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-08.jpg?resize=372%2C728&#038;ssl=1\" alt=\"\" width=\"372\" height=\"728\" class=\"aligncenter size-full wp-image-1035\" srcset=\"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-08.jpg?w=372&amp;ssl=1 372w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-08.jpg?resize=153%2C300&amp;ssl=1 153w, https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-08.jpg?resize=300%2C587&amp;ssl=1 300w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/a><br \/>\nSo what does this mean?  PowerShell RBAC must be having issues in the SCC.  If you can, test this in your tenant and post your results here.  Would like some more live data on this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a while now I have had issues with gathering permissions that are required to run cmdlets in the Security and Compliance Center. Basically any query that is made ends up with a Watson error. However, I may have found a workaround. It is convoluted as it requires another connection to another PowerShell module in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":[],"rop_publish_now_history":[],"rop_publish_now_status":"pending","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[23,28,22,27],"tags":[],"class_list":["post-1034","post","type-post","status-publish","format-standard","hentry","category-7-0","category-get-help","category-powershell","category-security-and-compliance-center"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cmdlet PowerShell Permissions - &#039;Fix&#039; for SCC - Practical PowerShell<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cmdlet PowerShell Permissions - &#039;Fix&#039; for SCC - Practical PowerShell\" \/>\n<meta property=\"og:description\" content=\"For a while now I have had issues with gathering permissions that are required to run cmdlets in the Security and Compliance Center. Basically any query that is made ends up with a Watson error. However, I may have found a workaround. It is convoluted as it requires another connection to another PowerShell module in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/\" \/>\n<meta property=\"og:site_name\" content=\"Practical PowerShell\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-27T14:00:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg\" \/>\n<meta name=\"author\" content=\"damian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"damian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/\"},\"author\":{\"name\":\"damian\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"headline\":\"Cmdlet PowerShell Permissions &#8211; &#8216;Fix&#8217; for SCC\",\"datePublished\":\"2020-04-27T14:00:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/\"},\"wordCount\":505,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"image\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-04-27-SCC-Help-01.jpg\",\"articleSection\":[\"7.0\",\"Get-Help\",\"PowerShell\",\"Security and Compliance Center\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/\",\"url\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/\",\"name\":\"Cmdlet PowerShell Permissions - 'Fix' for SCC - Practical PowerShell\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-04-27-SCC-Help-01.jpg\",\"datePublished\":\"2020-04-27T14:00:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-04-27-SCC-Help-01.jpg?fit=800%2C207&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/practicalpowershell.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/2020-04-27-SCC-Help-01.jpg?fit=800%2C207&ssl=1\",\"width\":800,\"height\":207},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/cmdlet-powershell-permissions-fix-for-scc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/practicalpowershell.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cmdlet PowerShell Permissions &#8211; &#8216;Fix&#8217; for SCC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#website\",\"url\":\"https:\\\/\\\/practicalpowershell.com\\\/\",\"name\":\"Practical PowerShell\",\"description\":\"PowerShell books written by experts\",\"publisher\":{\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/practicalpowershell.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/practicalpowershell.com\\\/#\\\/schema\\\/person\\\/4d0733c81966e744aabbb49f56d64deb\",\"name\":\"damian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\",\"caption\":\"damian\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cmdlet PowerShell Permissions - 'Fix' for SCC - Practical PowerShell","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/","og_locale":"en_US","og_type":"article","og_title":"Cmdlet PowerShell Permissions - 'Fix' for SCC - Practical PowerShell","og_description":"For a while now I have had issues with gathering permissions that are required to run cmdlets in the Security and Compliance Center. Basically any query that is made ends up with a Watson error. However, I may have found a workaround. It is convoluted as it requires another connection to another PowerShell module in [&hellip;]","og_url":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/","og_site_name":"Practical PowerShell","article_published_time":"2020-04-27T14:00:42+00:00","og_image":[{"url":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg","type":"","width":"","height":""}],"author":"damian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"damian","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#article","isPartOf":{"@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/"},"author":{"name":"damian","@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"headline":"Cmdlet PowerShell Permissions &#8211; &#8216;Fix&#8217; for SCC","datePublished":"2020-04-27T14:00:42+00:00","mainEntityOfPage":{"@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/"},"wordCount":505,"commentCount":0,"publisher":{"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"image":{"@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#primaryimage"},"thumbnailUrl":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg","articleSection":["7.0","Get-Help","PowerShell","Security and Compliance Center"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/","url":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/","name":"Cmdlet PowerShell Permissions - 'Fix' for SCC - Practical PowerShell","isPartOf":{"@id":"https:\/\/practicalpowershell.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#primaryimage"},"image":{"@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#primaryimage"},"thumbnailUrl":"https:\/\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg","datePublished":"2020-04-27T14:00:42+00:00","breadcrumb":{"@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#primaryimage","url":"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?fit=800%2C207&ssl=1","contentUrl":"https:\/\/i0.wp.com\/practicalpowershell.com\/wp-content\/uploads\/2020\/04\/2020-04-27-SCC-Help-01.jpg?fit=800%2C207&ssl=1","width":800,"height":207},{"@type":"BreadcrumbList","@id":"https:\/\/practicalpowershell.com\/cmdlet-powershell-permissions-fix-for-scc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/practicalpowershell.com\/"},{"@type":"ListItem","position":2,"name":"Cmdlet PowerShell Permissions &#8211; &#8216;Fix&#8217; for SCC"}]},{"@type":"WebSite","@id":"https:\/\/practicalpowershell.com\/#website","url":"https:\/\/practicalpowershell.com\/","name":"Practical PowerShell","description":"PowerShell books written by experts","publisher":{"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/practicalpowershell.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/practicalpowershell.com\/#\/schema\/person\/4d0733c81966e744aabbb49f56d64deb","name":"damian","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g","caption":"damian"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/d5a8cc64a5aa27558a897b108e3be1a89859511a3fd26176dac292f26e7a4ae4?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/1034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/comments?post=1034"}],"version-history":[{"count":1,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/1034\/revisions"}],"predecessor-version":[{"id":1043,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/posts\/1034\/revisions\/1043"}],"wp:attachment":[{"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/media?parent=1034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/categories?post=1034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/practicalpowershell.com\/wp-json\/wp\/v2\/tags?post=1034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}