Replies: 1 comment
-
| 
         https://learn.microsoft.com/en-us/microsoftsearch/manage-spo-search-box After allowing custom scripts I was able to run the set/get cmdlets.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Following https://pnp.github.io/blog/post/changes-pnp-management-shell-registration/
I have created an enterprise app
with permissions such as AllSites.FullControl and AllSites.Manage as type delegated.
When I connect via
Connect-PnPOnline -Url https://example.sharepoint.com/sites/example -Interactive -ClientId <appid123example>it works.If i try any follow up commands such as
Set-PnPSearchSettings -SearchScope HubI get the errorAttempted to perform an unauthorized operation.Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions