Home

The file name is too long. 0x8007006f Error with NDES & SCEP Profile in Intune

%3CLINGO-SUB%20id%3D%22lingo-sub-205917%22%20slang%3D%22en-US%22%3EThe%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205917%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20configured%20NDES%20server%20to%20issues%20certificates%20to%20win10%20devices.For%20this%3C%2FP%3E%3CP%3E1.Configured%20NDES%20server%20with%20templates%20etc%3C%2FP%3E%3CP%3E2.Configured%20Intune%20connector%20and%20created%20scep%20profiles%20and%20assgined%20it%20to%20users%3C%2FP%3E%3CP%3E3.Installed%20%26amp%3B%20Configured%20Azure%20App%20proxy%20connector%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20reach%20the%20NDES%20server%20over%20443%20from%20internet%20fine%2C%20but%20can%20not%20deploy%20certificates%20to%20devices%20using%20SCEP%20profile.%20I%20get%20the%20below%20error%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%3EGetCACapsDone%3CBR%20%2F%3EGetCACaps%3A%20OK%3CBR%20%2F%3EHTTP%2F1.1%20200%20OK%3CBR%20%2F%3ECache-Control%3A%20no-cache%2C%20no-store%3CBR%20%2F%3EDate%3A%20Tue%2C%2019%20Jun%202018%2021%3A52%3A27%20GMT%3CBR%20%2F%3EPragma%3A%20no-cache%3CBR%20%2F%3EContent-Length%3A%2024664%3CBR%20%2F%3EContent-Type%3A%20text%2Fhtml%3B%20charset%3Dutf-8%3CBR%20%2F%3EExpires%3A%20-1%3CBR%20%2F%3EP3P%3A%20CP%3D%22DSP%20CUR%20OTPi%20IND%20OTRi%20ONL%20FIN%22%3CBR%20%2F%3EServer%3A%20Microsoft-IIS%2F10.0%3CBR%20%2F%3ESet-Cookie%3A%20buid%3DAQABAAEAAADX8GCi6Js6SK82TsD2Pb7rkPa2oQQqxLwIHWbxdpZdcjvuo8tf8wyL1lpsd7rwQY4yGmI0pf9huiG-12345E8eVPThLblV5Sxrzg1RXZ7stoPjwVo5i1kaV7PzKkaJIjTrzLUogAA%3B%20expires%3DThu%2C%2019-Jul-2018%2021%3A52%3A28%20GMT%3B%20path%3D%2F%3B%20secure%3B%20HttpOnly%3CBR%20%2F%3ESet-Cookie%3A%20esctx%3DABAQABAAAAAADX8GCi6Js6SK82TsD2Pb7r4zUB_O9BLdczpp4pKsEdfx-x1B21DuqzyKJjPj_ENhW4QWa_yk54HOZNE19H-NgSSzb1q0NfnPpia6Ku-rjpXurfM5Znht5x_A09unL-YsmKjaHmaNglYJopGO5kLsVV_VzLmpTCnsxSda9Cm6b2Nj3OaqPNyKIkZ4l2Nj68vZyi4gAA%3B%20domain%3D.login.microsoftonline.com%3B%20path%3D%2F%3B%20secure%3B%20HttpOnly%3CBR%20%2F%3ESet-Cookie%3A%20x-ms-gateway-slice%3D014%3B%20path%3D%2F%3B%20secure%3B%20HttpOnly%3CBR%20%2F%3ESet-Cookie%3A%20stsservicecookie%3Dests%3B%20path%3D%2F%3B%20secure%3B%20HttpOnly%3CBR%20%2F%3EStrict-Transport-Security%3A%20max-age%3D31536000%3B%20includeSubDomains%3CBR%20%2F%3EX-Content-Type-Options%3A%20nosniff%3CBR%20%2F%3EX-Frame-Options%3A%20DENY%3CBR%20%2F%3Ex-ms-request-id%3A%201d8e6f99-6435-4026-ae60-681fd9964a00%3CBR%20%2F%3EX-Powered-By%3A%20ASP.NET%3C%2FP%3E%3CP%3EMethod%3A%20GET(469ms)%3CBR%20%2F%3EStage%3A%20GetCACapsDone%3CBR%20%2F%3EThe%20file%20name%20is%20too%20long.%200x8007006f%20(WIN32%2FHTTP%3A%20111%20ERROR_BUFFER_OVERFLOW)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-205917%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EEMS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270536%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270536%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Prasad%2C%3C%2FP%3E%3CP%3EWhat%20was%20the%20actual%20problem%20with%20your%20subject%20name%20in%20the%20cert%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20experiencing%20the%20same%20issue%20with%20Application%20Proxy%20and%20SCEP%20cert%20enrollment.%20I%20have%20the%20certificate%20on%20the%20app%20proxy%20set%20with%20the%20Subject%20Name%20as%20the%20internal%20FQDN%20with%20the%20Subject%20Alternative%20Name%20of%20the%20external%20FQDN.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20appreciate%20any%20advice%20you%20can%20give.%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-211310%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-211310%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20follow-up%2C%20Prasad.%26nbsp%3B%20I%20have%20confirmed%20with%20a%20couple%20of%20other%20users%20and%20now%20with%20Premier%20Support%20that%20delivering%20device%20certificates%20is%20not%20available%20in%20Standalone%20at%20this%20time.%26nbsp%3B%20Thanks%20for%20checking%2C%20though!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-211241%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-211241%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20delivering%20user%20certificates%2C%20We%20use%20intune%20standalone%20not%20with%20SCCM%20Hybrid.%3C%2FP%3E%3CP%3EI%20am%20not%20really%20sure%20about%20intune%20standalone%20can%20not%20deliver%20device%20based%20certs.%20If%20I%20test%20this%20i%20will%20let%20you%20know%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-210098%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-210098%22%20slang%3D%22en-US%22%3E%3CP%3ESo%2C%20quick%20question%3A%20Are%20you%20now%20delivering%20device%20certificates%20to%20the%20devices%3F%20Are%20you%20using%20Intune%20Standalone%20or%20Intune%2FSCCM%20hybrid%3F%20%26nbsp%3B%20I've%20been%20struggling%20with%20this%20for%20the%20past%20week%20to%20deliver%20certificates%20to%20devices%20for%20our%20802.1x%20wireless%20infrastructure%20-even%20though%20I%20have%20no%20issues%20deliver%20users%20a%20similar%20SCEP%20cert%26nbsp%3B%20(issued%20outlined%20and%20screenshot%20in%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Intune%2FIntune-Standalone-Device-Based-Certificate-Issue%2Fm-p%2F208155%23M697%22%20target%3D%22_blank%22%3Ethis%20post%3C%2FA%3E)%20with%20Intune%20standalone.%20%26nbsp%3B%20I%20even%20went%20as%20far%20as%20to%20put%20in%20a%20ticket%2C%20and%20I%20was%20told%20that%20Intune%20standalone%20couldn't%20deliver%20device-based%20certs%20(which%20I%20find%20hard%20to%20swallow).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-209991%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-209991%22%20slang%3D%22en-US%22%3E%3CP%3Ei%20got%20it%20resolved%2C%20it%20was%20some%20issue%20with%20the%20subject%20name%20in%20the%20certificate%20i%20am%20using.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-859256%22%20slang%3D%22en-US%22%3ERe%3A%20The%20file%20name%20is%20too%20long.%200x8007006f%20Error%20with%20NDES%20%26amp%3B%20SCEP%20Profile%20in%20Intune%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-859256%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F227226%22%20target%3D%22_blank%22%3E%40Paul%20Berlemont%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20ever%20get%20this%20resolved%2C%20we%20are%20having%20the%20issue%20with%20Application%20Proxy%20and%20SCEP%20via%20Intune.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETom%3C%2FP%3E%3C%2FLINGO-BODY%3E
prasad goud
Occasional Contributor

Hi,

 

I have configured NDES server to issues certificates to win10 devices.For this

1.Configured NDES server with templates etc

2.Configured Intune connector and created scep profiles and assgined it to users

3.Installed & Configured Azure App proxy connector

 

I could reach the NDES server over 443 from internet fine, but can not deploy certificates to devices using SCEP profile. I get the below error

 

 

 

 

GetCACapsDone
GetCACaps: OK
HTTP/1.1 200 OK
Cache-Control: no-cache, no-store
Date: Tue, 19 Jun 2018 21:52:27 GMT
Pragma: no-cache
Content-Length: 24664
Content-Type: text/html; charset=utf-8
Expires: -1
P3P: CP="DSP CUR OTPi IND OTRi ONL FIN"
Server: Microsoft-IIS/10.0
Set-Cookie: buid=AQABAAEAAADX8GCi6Js6SK82TsD2Pb7rkPa2oQQqxLwIHWbxdpZdcjvuo8tf8wyL1lpsd7rwQY4yGmI0pf9huiG-12345E8eVPThLblV5Sxrzg1RXZ7stoPjwVo5i1kaV7PzKkaJIjTrzLUogAA; expires=Thu, 19-Jul-2018 21:52:28 GMT; path=/; secure; HttpOnly
Set-Cookie: esctx=ABAQABAAAAAADX8GCi6Js6SK82TsD2Pb7r4zUB_O9BLdczpp4pKsEdfx-x1B21DuqzyKJjPj_ENhW4QWa_yk54HOZNE19H-NgSSzb1q0NfnPpia6Ku-rjpXurfM5Znht5x_A09unL-YsmKjaHmaNglYJopGO5kLsVV_VzLmpTCnsxSda9Cm6b2Nj3OaqPNyKIkZ4l2Nj68vZyi4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly
Set-Cookie: x-ms-gateway-slice=014; path=/; secure; HttpOnly
Set-Cookie: stsservicecookie=ests; path=/; secure; HttpOnly
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
x-ms-request-id: 1d8e6f99-6435-4026-ae60-681fd9964a00
X-Powered-By: ASP.NET

Method: GET(469ms)
Stage: GetCACapsDone
The file name is too long. 0x8007006f (WIN32/HTTP: 111 ERROR_BUFFER_OVERFLOW)

6 Replies

i got it resolved, it was some issue with the subject name in the certificate i am using.

 

So, quick question: Are you now delivering device certificates to the devices? Are you using Intune Standalone or Intune/SCCM hybrid?   I've been struggling with this for the past week to deliver certificates to devices for our 802.1x wireless infrastructure -even though I have no issues deliver users a similar SCEP cert  (issued outlined and screenshot in this post) with Intune standalone.   I even went as far as to put in a ticket, and I was told that Intune standalone couldn't deliver device-based certs (which I find hard to swallow).

We are delivering user certificates, We use intune standalone not with SCCM Hybrid.

I am not really sure about intune standalone can not deliver device based certs. If I test this i will let you know

Thanks for the follow-up, Prasad.  I have confirmed with a couple of other users and now with Premier Support that delivering device certificates is not available in Standalone at this time.  Thanks for checking, though!

Hi Prasad,

What was the actual problem with your subject name in the cert?

 

I'm experiencing the same issue with Application Proxy and SCEP cert enrollment. I have the certificate on the app proxy set with the Subject Name as the internal FQDN with the Subject Alternative Name of the external FQDN. 

 

I would appreciate any advice you can give.

Cheers,

Paul

Hi @Paul Berlemont ,

 

Did you ever get this resolved, we are having the issue with Application Proxy and SCEP via Intune.

 

Thanks

 

Tom

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies