Onedrive permission

%3CLINGO-SUB%20id%3D%22lingo-sub-2238630%22%20slang%3D%22en-US%22%3EOnedrive%20permission%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2238630%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI%20tried%20the%20below%20to%20give%20permission%20on%20USERA's%26nbsp%3B%20folder%20(Testa)%26nbsp%3B%20in%20one%20drive%26nbsp%3B%20to%20USERB%3C%2FP%3E%3CP%3ESet-PnPListItemPermission%20-List%20'Documents'%20-Identity%201%20-User%20'userb%40contoso.com'%20-RemoveRole%20'Contribute'%3C%2FP%3E%3CP%3EPermission%20applied%20successfully%26nbsp%3B%20on%20the%26nbsp%3B%20drive%26nbsp%3B%20%26nbsp%3Bbut%20the%20USERB%20cannot%20see%26nbsp%3B%20in%20his%20onedrive%20%22under%20shared%20with%20you%20%22%3C%2FP%3E%3CP%3Ebut%20if%20he%20searches%20the%20folder%20by%20the%20name%26nbsp%3BTesta%20then%20he%20can%20see%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20fix%20this%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2238630%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Hi,

I tried the below to give permission on USERA's  folder (Testa)  in one drive  to USERB

Set-PnPListItemPermission -List 'Documents' -Identity 1 -User 'userb@contoso.com' -RemoveRole 'Contribute'

Permission applied successfully  on the  drive   but the USERB cannot see  in his onedrive "under shared with you "

but if he searches the folder by the name Testa then he can see 

 

How to fix this 

 

Thanks 

 

0 Replies