SOLVED

-- Microsoft Azure Storage Explorer || Private Endpoints on ADLS Gen2 --

%3CLINGO-SUB%20id%3D%22lingo-sub-1268342%22%20slang%3D%22en-US%22%3E--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268342%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20provided%20access%20to%20my%20ADLS%20Gen2%20through%20ACL.%3C%2FP%3E%3CP%3EMy%20users%20have%20at%20least%20the%20ACL%20r-x%20on%20the%20filesystem%20and%20on%20the%20subsfolders%20or%20files%20when%20need%20access%20to.%3C%2FP%3E%3CP%3EFrom%20Home%20Office%20(through%20VPN)%20and%20using%20the%20client%20(MASE)%20%22Microsoft%20Azure%20Storage%20Explorer%22%3C%2FP%3E%3COL%20class%3D%22y-list%20y-list__ordered%20yj-redraft-list%22%3E%3CLI%3EWhen%20the%20Public%20Ip%20of%20the%20users%20is%20whitelisted%20the%20client%20MASE%20(Microsoft%20Azure%20Storage%20Explorer)%20can%20access%20the%20ADLS%20Storage%20Account.%3C%2FLI%3E%3CLI%3EWhen%20using%20Private%20Endpoints%20(tried%20'dfs'%20and%20'blob')%20I%20got%20the%20following%20error%20%3A%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F180928i25D8A60EF64823C7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1284670%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1284670%22%20slang%3D%22en-US%22%3EAs%20a%20last%20chance%20I%20have%20created%20a%20private%20endpoint%20for%20each%20Id%20Group%20of%20Storage%20Account%20resources%20%3A%20dfs%2C%20web%2C%20blob%2C%20table%2C%20queue%20and%20file%20but%20the%20result%20is%20the%20same%2C%20the%20Authentication%20step%20goes%20through%20Internet%20and%20ask%20for%20the%20user%20to%20have%20the%20list%20containers%20or%20list%20account%20keys%20privilege.%20In%20my%20ADLS%20ACL%20context%20I%20just%20can't%20just%20give%20those%20privileges.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1308531%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1308531%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F599728%22%20target%3D%22_blank%22%3E%40Jamesdld%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BI%20checked%20on%20this%20and%20while%20it%20appears%20that%20Storage%20Explorer%20through%20the%20Azure%20portal%20works%20as%20expected%20with%20private%20endpoints%2C%20the%20client%20tool%20didn't.%26nbsp%3B%20I%20suspect%20that%20Azure%20Storage%20Explorer%20uses%20legacy%20Blob%20APIs%20to%20enumerate%20%2F%20list%20contents%20of%20storage%20accounts.%26nbsp%3B%20I%20was%20able%20to%20get%20Storage%20Explorer%20client%20working%20(from%20a%20machine%20within%20the%20VNET)%20by%20creating%20a%20private%20endpoint%20and%20private%20DNS%20zone%20for%20Blob%20access.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1308657%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1308657%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Roy%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20confirm%20that%20connecting%20to%20blob%20Storage%20Accounts%20works%20fine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20issue%20is%20connecting%20to%20a%20Storage%20Account%20that%20is%20enabled%20for%20ADLS%20Gen%202%2C%20the%20target%26nbsp%3B%3CSPAN%3ESubresources%20are%20blob%20and%20dfs.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECan%20you%20confirm%20the%20issue%3F%20It%20occurs%20with%20Private%20Endpoints%20when%20you%20try%20to%20connect%20with%20a%20user%20that%20has%20ACL%20read%20and%20execute%20ACL.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EJames%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1308716%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1308716%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F599728%22%20target%3D%22_blank%22%3E%40Jamesdld%3C%2FA%3E%26nbsp%3BIt%20may%20be%20useful%20to%20test%20by%20connecting%20with%20an%20account%20with%20storage%20account%20owner%20permissions%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1309584%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1309584%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3Eplease%20find%20below%20the%20test%20results.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F184536i435F09ED87377AD4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E----%3C%2FP%3E%3CP%3E----%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F184537i0CA1E4126347C887%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E----%3C%2FP%3E%3CP%3E----%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F184538i44C57353E8CC2407%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1309798%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1309798%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F599728%22%20target%3D%22_blank%22%3E%40Jamesdld%3C%2FA%3E%26nbsp%3BDid%20you%20validate%20whether%20access%20through%20the%20Azure%20Portal%20Storage%20Explorer%20works%20in%20either%20case%3F%20(browsing%20from%20a%20machine%20on%20the%20same%20VNET%20as%20the%20private%20endpoint).%26nbsp%3B%20Also%20notice%20that%20your%20errors%20on%20Test%201%20and%20Test%202%20are%20different%20-%20check%20the%20last%20part%20of%20this%20article%20(although%20it%20is%20written%20for%20Databricks%2FSpark)%20as%20well%20around%20reviewing%20ADLS%20ACLs%20%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdeep.data.blog%2Fcategory%2Fazure-data-lake-storage-gen-2%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeep.data.blog%2Fcategory%2Fazure-data-lake-storage-gen-2%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1309975%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1309975%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20back%20and%20thank%20you%20for%20checking%20everything%20but%20concerning%20the%20ACL%20I%20am%20sure%20it%20works%2C%20as%20revealed%20in%20the%20following%20screenshot%20the%20connection%20with%20same%20user%20with%20the%20upper%20mentioned%20privileges%20works%20when%20connecting%20through%20Internet.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20test%20from%20a%20VM%20which%20is%20the%20same%20vnet%20than%20my%20private%20endpoint%2C%20I%20will%20do%20that%20tomorrow.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F184558i0414F96D62BF759E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1313322%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1313322%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Roy%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20just%20did%20the%20test%20from%20a%20VM%20located%20in%20the%20same%20vnet%20than%20my%20private%20endpoints%2C%20the%20result%20is%20exactly%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJames%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1313475%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1313475%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F599728%22%20target%3D%22_blank%22%3E%40Jamesdld%3C%2FA%3E%26nbsp%3BDid%20you%20try%20it%20from%20Storage%20Explorer%20WITHIN%20the%20account%20blade%20of%20the%20Azure%20portal%20to%20rule%20out%20issues%20with%20the%20Azure%20Storage%20Explorer%20tool%3F%20If%20this%20still%20is%20problematic%20try%20raising%20a%20call%20through%20support%20%40%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Azure_Support%2FHelpAndSupportBlade%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2F%23blade%2FMicrosoft_Azure_Support%2FHelpAndSupportBlade%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1315106%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1315106%22%20slang%3D%22en-US%22%3E%3CP%3EHaving%20an%20issue%20from%20the%20portal%20too%20with%20private%20endpoint%2C%20I%20did%20raise%20the%20support%20ticket%20number%26nbsp%3B%3CSPAN%3E120041722000372.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1315179%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1315179%22%20slang%3D%22en-US%22%3E%3CP%3EJust%20for%20info%2C%20I%20did%20overwrite%20the%20main%20dns%20record%2C%20not%20only%20the%20one%20recommended%20with%20%22.private.%22%20and%20it%20worked%20for%20both%20users%3A%26nbsp%3Bthe%20one%20that%20is%20owner%20and%20the%20one%20that%20has%20ACL%20privileges.%20This%26nbsp%3Bis%20definitely%20not%20a%20good%20an%20option%20but%20the%20result%20is%20interesting%2C%20I%20will%20share%20that%20with%20the%20support%20team.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1317710%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317710%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20ended%20a%20call%20with%20Garrett%20Curtin%20from%20Microsoft%20Storage%20support%20team%20(ticket%20id%20120041722000372)%20and%20unfortunately%20%22Storage%20Explorer%22%20doesn%E2%80%99t%20support%20using%20privatelink%20dns%20zones%20as%20recommended%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fprivate-link%2Fprivate-endpoint-overview%23dns-configuration%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20The%20workaround%20is%20to%20overwrite%20the%20public%20dns%20record%20like%20%22mysa.blob.core.windows.net%22%20and%20not%20the%20privatelink%20one%20like%3A%20%22mysa.privatelink.blob.core.windows.net%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20feature%20request%20was%20made%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2FAzureStorageExplorer%2Fissues%2F2848%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20to%20make%20Storage%20Explorer%20support%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1317931%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317931%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20still%20investigating%20here%20for%20info%2C%20my%20privatelink%20dns%20zone%20is%20hosted%20on%20On-Premises%20dns%20servers%20because%20my%20client%20are%20in%20my%20On-Premises%20network%2C%20I%20will%20dig%20this%20area%2C%20maybe%20its%20a%20ttl%20misconfiguration%20or%20something%20like%20that...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1317945%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1317945%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20a%20DNS%20forwarder%20VM%20could%20be%20a%20solution%20but%20I%20would%20have%20preferred%20a%20solution%20with%20my%20current%20infra%20services.%20url%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F301-dns-forwarder%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F301-dns-forwarder%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThere%20is%20here%20an%20interesting%20feature%20request%20%3A%20%22Simplify%20Private%20Endpoint%20DNS%20resolution%20from%20on-premises%22.%20url%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ffeedback.azure.com%2Fforums%2F34192--general-feedback%2Fsuggestions%2F39697135-simplify-private-endpoint-dns-resolution-from-on-p%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ffeedback.azure.com%2Fforums%2F34192--general-feedback%2Fsuggestions%2F39697135-simplify-private-endpoint-dns-resolution-from-on-p%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1321448%22%20slang%3D%22en-US%22%3ERe%3A%20--%20Microsoft%20Azure%20Storage%20Explorer%20%7C%7C%20Private%20Endpoints%20on%20ADLS%20Gen2%20--%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1321448%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20understood%20and%20solved%20my%20issue%2C%20was%20all%20about%20DNS%20resolution%2C%20adding%20below%20some%20explanation.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20need%3A%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EEnd%20users%20need%20to%20connect%20to%20PaaS%20services%20from%20home%20through%20VPN%20or%20from%20On-Premises%20private%20networks%20through%20their%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fprivate-link%2Fprivate-endpoint-overview%23dns-configuration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EPrivate%20Endpoints%3C%2FA%3E%20IPs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EOverview%20of%20the%20solution%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EForward%20DNS%20request%20to%20a%20DNS%20VM%20proxy%20located%20on%20Azure.%3C%2FP%3E%3CP%3EThe%20DNS%20VM%20proxy%20is%20in%20a%20vnet%20that%20has%20a%20link%20with%20your%20Azure%20private%20DNS%20zones%20hosting%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fprivate-link%2Fprivate-endpoint-overview%23dns-configuration%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%22privatelink%22%20recommended%20DNS%20zones%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EDetail%20of%20the%20solution%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ECreate%20the%20Azure%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdns%2Fprivate-dns-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eprivate%20dns%20zone%3C%2FA%3E%20%E2%80%9Cprivatelink.blob.core.windows.net%E2%80%9D%20with%20the%20DNS%20A%20record%20%E2%80%9Cmystoragename.%3CSTRONG%3Eprivatelink%3C%2FSTRONG%3E.blob.core.windows.net%E2%80%9D%20that%20returns%20the%20IP%20of%20my%20Storage%20Account%20private%20endpoint%E2%80%99s%20IP.%3C%2FLI%3E%3CLI%3EUse%20a%20VM%20DNS%20proxy%2C%20this%20VM%E2%80%99s%20vNet%20is%20linked%20to%20the%20upper%20mentioned%20Azure%20private%20dns%20zone.%20This%20DNS%20VM%20forwards%20DNS%20request%20to%20Azure%20DNS%20IP%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-network%2Fwhat-is-ip-address-168-63-129-16%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E168.63.129.16%3C%2FA%3E.%3C%2FLI%3E%3CUL%3E%3CLI%3EHere%2C%20a%20solution%20could%20be%20to%20use%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Factive-directory-ds%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20AD%20DS%3C%2FA%3E%20as%20the%20DNS%20proxy%2C%20it%E2%80%99s%20natively%20configured%20to%20forward%20dns%20request%20to%20168.63.129.16.%3C%2FLI%3E%3C%2FUL%3E%3CLI%3EUse%20a%20DNS%20conditional%20forwarder%20on%20the%20On-Premises%20DNS%20servers%20to%20forward%20dns%20requests%20for%20the%20DNS%20zone%20%E2%80%9Cmystoragename.blob.core.windows.net%E2%80%9D%20to%20the%20DNS%20proxy%20on%20Azure%20(in%20my%20context%2C%20to%20the%202%20private%20Ips%20of%20my%20Azure%20AD%20DS%20service).%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EFeature%20request%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EA%20feature%20request%20has%20been%20published%20%3CA%20href%3D%22https%3A%2F%2Ffeedback.azure.com%2Fforums%2F34192--general-feedback%2Fsuggestions%2F39697135-simplify-private-endpoint-dns-resolution-from-on-p%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20to%20simplify%20Private%20Endpoint%20DNS%20resolution%20from%20On-Premises.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have provided access to my ADLS Gen2 through ACL.

My users have at least the ACL r-x on the filesystem and on the subsfolders or files when need access to.

From Home Office (through VPN) and using the client (MASE) "Microsoft Azure Storage Explorer"

  1. When the Public Ip of the users is whitelisted the client MASE (Microsoft Azure Storage Explorer) can access the ADLS Storage Account.
  2. When using Private Endpoints (tried 'dfs' and 'blob') I got the following error :
     
    image.png

     

15 Replies
Highlighted
As a last chance I have created a private endpoint for each Id Group of Storage Account resources : dfs, web, blob, table, queue and file but the result is the same, the Authentication step goes through Internet and ask for the user to have the list containers or list account keys privilege. In my ADLS ACL context I just can't just give those privileges.
Highlighted

@Jamesdld   I checked on this and while it appears that Storage Explorer through the Azure portal works as expected with private endpoints, the client tool didn't.  I suspect that Azure Storage Explorer uses legacy Blob APIs to enumerate / list contents of storage accounts.  I was able to get Storage Explorer client working (from a machine within the VNET) by creating a private endpoint and private DNS zone for Blob access.

Highlighted

Hi Roy

 

I confirm that connecting to blob Storage Accounts works fine.

 

My issue is connecting to a Storage Account that is enabled for ADLS Gen 2, the target Subresources are blob and dfs.

 

Can you confirm the issue? It occurs with Private Endpoints when you try to connect with a user that has ACL read and execute ACL.

 

Thank you,

James

Highlighted

@Jamesdld It may be useful to test by connecting with an account with storage account owner permissions

Highlighted

Hi

please find below the test results.

image.png

----

----image.png

----

----

 

image.png

Highlighted

@Jamesdld Did you validate whether access through the Azure Portal Storage Explorer works in either case? (browsing from a machine on the same VNET as the private endpoint).  Also notice that your errors on Test 1 and Test 2 are different - check the last part of this article (although it is written for Databricks/Spark) as well around reviewing ADLS ACLs : https://deep.data.blog/category/azure-data-lake-storage-gen-2/

 

Highlighted

Hi back and thank you for checking everything but concerning the ACL I am sure it works, as revealed in the following screenshot the connection with same user with the upper mentioned privileges works when connecting through Internet. 

I can test from a VM which is the same vnet than my private endpoint, I will do that tomorrow.

 

image.png

Highlighted

Hi Roy,

 

I just did the test from a VM located in the same vnet than my private endpoints, the result is exactly the same.

 

James

Highlighted

@Jamesdld Did you try it from Storage Explorer WITHIN the account blade of the Azure portal to rule out issues with the Azure Storage Explorer tool? If this still is problematic try raising a call through support @https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/

Highlighted

Having an issue from the portal too with private endpoint, I did raise the support ticket number 120041722000372.

Highlighted

Just for info, I did overwrite the main dns record, not only the one recommended with ".private." and it worked for both users: the one that is owner and the one that has ACL privileges. This is definitely not a good an option but the result is interesting, I will share that with the support team.

Highlighted

I just ended a call with Garrett Curtin from Microsoft Storage support team (ticket id 120041722000372) and unfortunately "Storage Explorer" doesn’t support using privatelink dns zones as recommended here. The workaround is to overwrite the public dns record like "mysa.blob.core.windows.net" and not the privatelink one like: "mysa.privatelink.blob.core.windows.net"

 

A feature request was made here to make Storage Explorer support this.

Highlighted

I am still investigating here for info, my privatelink dns zone is hosted on On-Premises dns servers because my client are in my On-Premises network, I will dig this area, maybe its a ttl misconfiguration or something like that...

 

Highlighted

Using a DNS forwarder VM could be a solution but I would have preferred a solution with my current infra services. url: https://github.com/Azure/azure-quickstart-templates/tree/master/301-dns-forwarder/


There is here an interesting feature request : "Simplify Private Endpoint DNS resolution from on-premises". url: https://feedback.azure.com/forums/34192--general-feedback/suggestions/39697135-simplify-private-endp...

Highlighted
Solution

I just understood and solved my issue, was all about DNS resolution, adding below some explanation.

 

The need:

End users need to connect to PaaS services from home through VPN or from On-Premises private networks through their Private Endpoints IPs.

 

Overview of the solution:

Forward DNS request to a DNS VM proxy located on Azure.

The DNS VM proxy is in a vnet that has a link with your Azure private DNS zones hosting the "privatelink" recommended DNS zones.

 

Detail of the solution:

 

  1. Create the Azure private dns zone “privatelink.blob.core.windows.net” with the DNS A record “mystoragename.privatelink.blob.core.windows.net” that returns the IP of my Storage Account private endpoint’s IP.
  2. Use a VM DNS proxy, this VM’s vNet is linked to the upper mentioned Azure private dns zone. This DNS VM forwards DNS request to Azure DNS IP 168.63.129.16.
    • Here, a solution could be to use Azure AD DS as the DNS proxy, it’s natively configured to forward dns request to 168.63.129.16.
  3. Use a DNS conditional forwarder on the On-Premises DNS servers to forward dns requests for the DNS zone “mystoragename.blob.core.windows.net” to the DNS proxy on Azure (in my context, to the 2 private Ips of my Azure AD DS service).

 

Feature request:

A feature request has been published here to simplify Private Endpoint DNS resolution from On-Premises.