0

Has anyone been able to successfully run the command as below

New-SPSite https://sitename/sites/newsite -owner (New-SPClaimsPrincipal "Sales Manager Role" -IdentityProvider "myRoleProvider")

This is from the Microsoft docs below

Example 5

2
  • If you're having a problem it would help to explain what you're tying to set up and what happened when you ran the command. Because the answer to the question as it stands now is, "yes". – Derek Gusoff Sep 15 '20 at 13:36
  • I am trying to add an ASPNet Membership Role via PowerShell – user3799810 Sep 16 '20 at 0:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.