Sharepoint permissions/roles

%3CLINGO-SUB%20id%3D%22lingo-sub-3300778%22%20slang%3D%22en-US%22%3ESharepoint%20permissions%2Froles%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3300778%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%2C%3CBR%20%2F%3EI%20am%20writing%26nbsp%3Ban%20application%20that%20has%20the%20following%20features%20create%2Fmodify%2Fdelete%20sites%2C%20(un)assign%20user%20permissions%2C%20upload%20and%20deploy%20webparts%2C%20allow%20sharing%20sites%2Fdocuments%20with%20externals%20(guests).%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20all%20tested%20and%20possible%20with%20my%20application%20but%20my%20applications%20is%20using%20%22Sharepoint%20Admin%22%20permissions%20to%20accomplish%20this.%20This%20is%20way%20to%20much%20and%20I%20am%20in%20search%20of%20permissions%2Froles%20that%20are%20within%20the%20above%20mentioned%20scope.%3C%2FP%3E%3CP%3EI%20have%20looked%20into%20providing%20%22site%20collection%20admin%22%20but%20a%20site%20collection%20setup%20does%20not%20provide%20enough%20flexibility%20in%20assigning%20permissions%20to%20users%20to%20the%20sites%20and%20also%20it%20is%20only%20for%20predefined%2C%20pre-created%20sites%20while%20my%20application%20needs%20to%20be%20able%20to%20create%20several%20different%20sites.%3C%2FP%3E%3CP%3ESo%20far%20this%20is%20the%20main%20goal.%3C%2FP%3E%3CP%3EHaving%20sad%20that%20second%20goal%20is%20to%20add%20boundaries%20to%20this%20permission%20so%20that%20it%20will%20not%20have%20permission%20outside%20certain%20sites.%20The%20URL%20of%20these%20sites%20will%20be%20predefined%20and%20before%20they%20are%20created.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20accomplish%20this%20with%3A%3C%2FP%3E%3CUL%3E%3CLI%3EAAD%20user%20with%20Sharepoint%20permissions%20but%20could%20not%20find%20anything%20better%20then%20%22Sharepoint%20admin%22.%20Which%20has%20as%20mentioned%20before%20to%20much%20permissions.%3C%2FLI%3E%3CLI%3ESharepoint%20Add-in%20but%20could%20not%20find%20anyway%20of%20setting%20the%20permissions%20to%20the%20above%20mentioned%20permission%20scope.%3C%2FLI%3E%3CLI%3EAzure%20App%20registration%20with%20ClientSecret%20or%20certificate%20but%20this%20way%20the%20allowed%20permissions%20by%20Azure%20are%20inadequate.%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThe%20limitations%20of%20this%20last%20point%20is%20described%20in%20the%20following%20article%2C%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fsecurity-apponly%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fsecurity-apponly%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20that%20someone%20can%20help%20me%20find%20the%20correct%20way%20of%26nbsp%3Baccomplish%20this%2C%20as%20I%20am%20certain%20I%20have%20overlooked%20something.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3300778%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ERoles%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3369391%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20permissions%2Froles%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3369391%22%20slang%3D%22en-US%22%3E%3CP%3Ebump%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi,
I am writing an application that has the following features create/modify/delete sites, (un)assign user permissions, upload and deploy webparts, allow sharing sites/documents with externals (guests).

 

This is all tested and possible with my application but my applications is using "Sharepoint Admin" permissions to accomplish this. This is way to much and I am in search of permissions/roles that are within the above mentioned scope.

I have looked into providing "site collection admin" but a site collection setup does not provide enough flexibility in assigning permissions to users to the sites and also it is only for predefined, pre-created sites while my application needs to be able to create several different sites.

So far this is the main goal.

Having sad that second goal is to add boundaries to this permission so that it will not have permission outside certain sites. The URL of these sites will be predefined and before they are created.

 

I have tried to accomplish this with:

  • AAD user with Sharepoint permissions but could not find anything better then "Sharepoint admin". Which has as mentioned before to much permissions.
  • Sharepoint Add-in but could not find anyway of setting the permissions to the above mentioned permission scope.
  • Azure App registration with ClientSecret or certificate but this way the allowed permissions by Azure are inadequate.

The limitations of this last point is described in the following article,

https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/security-apponly

 

I hope that someone can help me find the correct way of accomplish this, as I am certain I have overlooked something.

 

1 Reply

bump