New OneDrive & SharePoint Feature: Fixing Unhealthy Sharing Links

%3CLINGO-SUB%20id%3D%22lingo-sub-1183284%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183284%22%20slang%3D%22en-US%22%3EThanks!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1183274%22%20slang%3D%22en-US%22%3ENew%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1183274%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20wanted%20to%20drop%20by%20and%20let%20interested%20folks%20know%20about%20a%20new%20feature%20we%20are%20rolling%20out%20to%20help%20users%20deal%20with%20%22unhealthy%22%20links!%20We've%20seen%20a%20few%20cases%20recently%20where%20a%20user%20makes%20some%20permission%20changes%20(such%20as%20breaking%20inheritance%20manually%20via%20permissions%20API's)%20that%20can%20cause%20sharing%20links%20to%20become%20unhealthy%2C%20which%20means%20the%20links%20exist%20but%20they%20no%20longer%20grant%20actual%20access%20to%20the%20item.%20In%20these%20cases%2C%20the%20sharing%20dialog%20still%20returns%20the%20link%20but%20the%20recipient%20will%20be%20unable%20to%20use%20it.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20help%20with%20these%20cases%2C%20we've%20made%20a%20change%20to%20Manage%20Access%20to%20now%20show%20these%20unhealthy%20links%20along%20with%20a%20new%20string%20to%20help%20guide%20users.%20In%20order%20to%20use%20that%20type%20of%20sharing%20link%20again%2C%20users%20can%20delete%20the%20existing%20link%20and%20then%20create%20a%20new%20one.%20Please%20note%20that%20in%20some%20cases%2C%20re-sharing%20the%20item%20with%20the%20same%20settings%20can%20often%20allow%20the%20service%20to%20automatically%20fix%20the%20link%20with%20no%20end%20user%20impact.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorStephen%20Rice_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Unhealthy%20Link.png%22%20style%3D%22width%3A%20284px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F172106i5A5F2B4EADCAE2B3%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Unhealthy%20Link.png%22%20alt%3D%22Unhealthy%20Link.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EWe'll%20begin%20rolling%20this%20feature%20out%20to%20all%20customers%20soon.%20If%20you%20have%20any%20questions%2C%20please%20let%20me%20know!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStephen%20Rice%3C%2FP%3E%0A%3CP%3ESenior%20Program%20Manager%2C%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1183274%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Elink%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EManage%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharing%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1201259%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1201259%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EGood%20day.%20Do%20you%20know%20of%20any%20blog%20or%20documentation%20that%20covers%20a%20few%20common%20ways%20links%20can%20become%20broken%3F%20I'm%20currently%20working%20on%20a%20ticket%20with%20Microsoft%20for%20just%20that.%20A%20user%20shared%20a%20link%20with%20non-company%20users%2C%20it%20works%20for%20a%20long%20while%2C%20she%20changes%20the%20name%2C%20and%20sometime%20after%20that%20the%20company%20and%20my%20user%20finds%20that%20the%20document%20is%20broken%3B%20however%2C%20other%20links%20to%20the%20document%20work.%26nbsp%3B%20I%20could%20give%20more%20information%2C%20but%20I'm%20not%20asking%20you%20to%20look%20into%20my%20problem%2C%20just%20if%20your%20expertise%20may%20reveal%20documents%20not%20easily%20found.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20time.%3CBR%20%2F%3E%3CBR%20%2F%3ESincerely%2C%26nbsp%3B%3C%2FP%3E%3CP%3EDaniel%20Smith%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1201265%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1201265%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570817%22%20target%3D%22_blank%22%3E%40dsmith_icona%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20post%20is%20the%20only%20%22documentation%22%20that%20we%20have%20at%20the%20moment.%20The%20particular%20case%20we%20are%20covering%20here%20occurs%20when%20advanced%20users%20play%20with%20the%20advanced%20permissions%20API's%20around%20a%20file%2Ffolder%2Fdocument%20library.%20The%20short%20but%20technical%20explanation%20is%20that%20a%20sharing%20link%20consists%20of%20a%20link%20object%20that%20is%20tied%20to%20an%20ACL%20on%20the%20item%20and%20when%20the%20ACL%20gets%20removed%20(but%20the%20link%20is%20not)%2C%20it%20can%20cause%20some%20pretty%20broken%20scenarios.%20This%20only%20occurs%20if%20you%20use%20lower%20level%20permissions%20API's%20though%20as%20all%20of%20our%20UI%20for%20sharing%2Funsharing%20files%20will%20always%20clean%20up%20both%20pieces.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ERenaming%20a%20file%20wouldn't%20cause%20this%20to%20occur%20though%20so%20working%20through%20this%20with%20support%20is%20likely%20your%20best%20bet.%20Thanks!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStephen%20Rice%3C%2FP%3E%0A%3CP%3ESenior%20Program%20Manager%2C%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1206536%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1206536%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%2C%26nbsp%3BWill%20this%20go%20to%20all%20customers%20simultaneously%3F%20Will%20GCC%20clients%20get%20it%20at%20the%20same%20time%20as%20other%20customers%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1207496%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1207496%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F447732%22%20target%3D%22_blank%22%3E%40Justin-GOV%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20will%20roll%20this%20out%20to%20our%20Prod%20customers%20first%20(already%20started)%20and%20it%20should%20hit%20GCC%20soon%20after.%20Thanks!%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EStephen%20Rice%3C%2FP%3E%0A%3CP%3ESenior%20Program%20Manager%2C%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1219566%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1219566%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Stephen%2C%3C%2FP%3E%3CP%3Ethis%20sounds%20like%20a%20good%20feature!%20I%20would%20be%20even%20more%20happy%20if%20a%20report%2C%20or%20csv%2C%20could%20be%20generated%20with%20these%20broken%20links.%20Preferably%20per%20site%20or%20tenant%20wide.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1220392%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1220392%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F578272%22%20target%3D%22_blank%22%3E%40Andre_B_Backs%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat's%20great%20feedback!%20Definitely%20something%20we'll%20keep%20in%20mind%20as%20we%20improve%20in%20this%20space!%20Thanks!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStephen%20Rice%3C%2FP%3E%0A%3CP%3ESenior%20Program%20Manager%2C%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1331403%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1331403%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%26nbsp%3Bgreat%20change!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20notification%20that%20we%20receive%20for%20the%20change%20says%20%22If%20you%20would%20like%20to%20enable%20this%20policy%20for%20your%20tenant%2C%20review%20these%20instructions.%22%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20not%20seen%20any%20instructions%20or%20links%20to%20technical%20documentation%2C%20is%20this%20a%20admin%20centre%20toggle%20or%20a%20client%20side%20setting%3F%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1332916%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1332916%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F431103%22%20target%3D%22_blank%22%3E%40mikeparkie%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESorry%20for%20the%20confusion!%20There%20is%20no%20admin%20configuration%20or%20toggle%20in%20this%20space.%20This%20is%20just%20new%20UI%20to%20help%20with%20an%20edge%20case%20that%20some%20users%20were%20running%20into.%20Sorry%20for%20the%20confusion!%20Thanks!%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EStephen%20Rice%3C%2FP%3E%0A%3CP%3ESenior%20Program%20Manager%2C%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1333778%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1333778%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%26nbsp%3BThanks%20for%20the%20confirmation.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1515173%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1515173%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181%22%20target%3D%22_blank%22%3E%40Stephen%20Rice%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Stephen%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20working%20with%20the%20SP%20REST%20api%20to%20programmatically%20remove%20individual%20users%20from%20a%20secure%20link.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20noticed%20some%20odd%20behaviour%20when%20multiple%20API%20calls%20are%20made%20in%20parallel%2C%20each%20trying%20to%20remove%20access%20for%20a%20different%20user%20against%20the%20same%20SecureLink.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESometimes%20this%20results%20in%20a%20SecureLink%20turning%20%22unhealthy%22%2C%20showing%20the%20red%20%22broken%20link%22%20warning%20text%20in%20the%20UI.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20also%20intermittently%20(but%20regularly)%20seeing%20scenarios%20where%20I%20am%20trying%20to%20remove%20user%20A%20and%20B%2C%20and%20even%20though%20each%20request%20results%20in%20a%20HTTP%20200%20response%20(with%20no%20error%20in%20the%20response%20body)%2C%20it%20appears%20as%20if%20the%20removal%20of%20user%20B%20reinstates%20user%20A%20against%20the%20link.%20Note%20that%20this%20only%20happens%20if%20the%20API%20calls%20are%20made%20in%20parallel.%26nbsp%3BIf%20the%20same%20API%20calls%20are%20made%20in%20sequence%20then%20everything%20works%20as%20expected.%20To%20me%20this%20suggests%20there%20is%20some%20sort%20of%20concurrency%20issue%20on%20the%20server%20side.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20only%20using%20the%20%2FListItemAllFields%2FSecureLink%20endpoint%2C%20using%20the%20inviteesToRemove%20bit%20in%20the%20JSON%20payload%20to%20indicate%20which%20user%20to%20remove.%20I%20am%20not%20using%20any%20API%20endpoints%20that%20directly%20manipulate%20the%20underlying%20ACLs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20think%20this%20issue%20could%20arise%20if%20multiple%20end%20users%20are%20modifying%20the%20same%20secure%20link%20through%20the%20browser%20and%20they%20happen%20to%20submit%20their%20changes%20at%20the%20same%20time%2C%20given%20that%20this%20operation%20uses%20the%20same%20API%20endpoints.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20need%20me%20to%20provide%20more%20info%20or%20some%20code%20to%20reproduce%20this%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJaap%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1515651%22%20slang%3D%22en-US%22%3ERe%3A%20New%20OneDrive%20%26amp%3B%20SharePoint%20Feature%3A%20Fixing%20Unhealthy%20Sharing%20Links%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1515651%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F725179%22%20target%3D%22_blank%22%3E%40jvossers%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20don't%20currently%20support%20making%20sharing%20API%20calls%20to%20the%20same%20object%20in%20parallel.%20We%20recommend%20sequential%20calls%20when%20you%20need%20to%20perform%20multiple%20operations%20on%20the%20same%20link.%20Thanks!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EStephen%20Rice%3C%2FP%3E%0A%3CP%3ESenior%20Program%20Manager%2C%20OneDrive%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Microsoft

Hi all,

 

I wanted to drop by and let interested folks know about a new feature we are rolling out to help users deal with "unhealthy" links! We've seen a few cases recently where a user makes some permission changes (such as breaking inheritance manually via permissions API's) that can cause sharing links to become unhealthy, which means the links exist but they no longer grant actual access to the item. In these cases, the sharing dialog still returns the link but the recipient will be unable to use it. 

 

To help with these cases, we've made a change to Manage Access to now show these unhealthy links along with a new string to help guide users. In order to use that type of sharing link again, users can delete the existing link and then create a new one. Please note that in some cases, re-sharing the item with the same settings can often allow the service to automatically fix the link with no end user impact.   

 

Unhealthy Link.png


We'll begin rolling this feature out to all customers soon. If you have any questions, please let me know!

 

Stephen Rice

Senior Program Manager, OneDrive

12 Replies
Highlighted
Highlighted

@Stephen Rice

Good day. Do you know of any blog or documentation that covers a few common ways links can become broken? I'm currently working on a ticket with Microsoft for just that. A user shared a link with non-company users, it works for a long while, she changes the name, and sometime after that the company and my user finds that the document is broken; however, other links to the document work.  I could give more information, but I'm not asking you to look into my problem, just if your expertise may reveal documents not easily found. 

 

Thank you for your time.

Sincerely, 

Daniel Smith

Highlighted

Hi @dsmith_icona,

 

This post is the only "documentation" that we have at the moment. The particular case we are covering here occurs when advanced users play with the advanced permissions API's around a file/folder/document library. The short but technical explanation is that a sharing link consists of a link object that is tied to an ACL on the item and when the ACL gets removed (but the link is not), it can cause some pretty broken scenarios. This only occurs if you use lower level permissions API's though as all of our UI for sharing/unsharing files will always clean up both pieces. 

 

Renaming a file wouldn't cause this to occur though so working through this with support is likely your best bet. Thanks!

 

Stephen Rice

Senior Program Manager, OneDrive

Highlighted

@Stephen Rice, Will this go to all customers simultaneously? Will GCC clients get it at the same time as other customers?

 

Thank you,

Highlighted

Hi @Justin-GOV,

 

We will roll this out to our Prod customers first (already started) and it should hit GCC soon after. Thanks!


Stephen Rice

Senior Program Manager, OneDrive

Highlighted

@Stephen Rice 

Hi Stephen,

this sounds like a good feature! I would be even more happy if a report, or csv, could be generated with these broken links. Preferably per site or tenant wide.

Highlighted

Hi @Andre_B_Backs,

 

That's great feedback! Definitely something we'll keep in mind as we improve in this space! Thanks!

 

Stephen Rice

Senior Program Manager, OneDrive

Highlighted

@Stephen Rice great change! 

 

The notification that we receive for the change says "If you would like to enable this policy for your tenant, review these instructions."

I've not seen any instructions or links to technical documentation, is this a admin centre toggle or a client side setting?   

Highlighted

Hi @mikeparkie,

 

Sorry for the confusion! There is no admin configuration or toggle in this space. This is just new UI to help with an edge case that some users were running into. Sorry for the confusion! Thanks!


Stephen Rice

Senior Program Manager, OneDrive

Highlighted

@Stephen Rice Thanks for the confirmation. 

@Stephen Rice 

 

Hi Stephen,

 

I am working with the SP REST api to programmatically remove individual users from a secure link.

 

I have noticed some odd behaviour when multiple API calls are made in parallel, each trying to remove access for a different user against the same SecureLink.

 

Sometimes this results in a SecureLink turning "unhealthy", showing the red "broken link" warning text in the UI.

 

I am also intermittently (but regularly) seeing scenarios where I am trying to remove user A and B, and even though each request results in a HTTP 200 response (with no error in the response body), it appears as if the removal of user B reinstates user A against the link. Note that this only happens if the API calls are made in parallel. If the same API calls are made in sequence then everything works as expected. To me this suggests there is some sort of concurrency issue on the server side.

 

I am only using the /ListItemAllFields/SecureLink endpoint, using the inviteesToRemove bit in the JSON payload to indicate which user to remove. I am not using any API endpoints that directly manipulate the underlying ACLs.

 

I also think this issue could arise if multiple end users are modifying the same secure link through the browser and they happen to submit their changes at the same time, given that this operation uses the same API endpoints.

 

Let me know if you need me to provide more info or some code to reproduce this issue.

 

Thanks,

 

Jaap

 

 

 

 

 

 

 

Highlighted

Hi @jvossers,

 

We don't currently support making sharing API calls to the same object in parallel. We recommend sequential calls when you need to perform multiple operations on the same link. Thanks!

 

Stephen Rice

Senior Program Manager, OneDrive