Archive. This is an archive of the Apple Support Community. Discussions are being restored and soon you will be able to read and post here again.

iCloud for Windows sign-in fails with 'Verification Failed' error -7005

iCloud for Windows 15.10.39.0 cannot sign in: AKValidateAppleIDCredentials

returns -7005 / "Verification Failed - There was an error connecting to the

Apple Account server", reproducible on a clean install.


ENVIRONMENT

iCloud for Windows version : 15.10.39.0 (Store/MSIX build, package family AppleInc.iCloud_nzyj5cx40ttqa, app version string "iCW Version 15.10.0.39(file version 610.6.0.24)")

Windows: Windows 11 26H2, build 10.0.26300.9711, x64

Installed via: Microsoft Store

Locale / timezone: en-HK / HKT

Account setting: Advanced Data Protection is NOT enabled


STEPS TO REPRODUCE

1. Install iCloud for Windows 15.10.39.0 from the Microsoft Store.

2. Launch iCloud, reach the "Connect to iCloud" onboarding page.

3. Enter the Apple ID and password and click Sign-In.

4. Wait ~3 seconds.


ACTUAL RESULT

A dialog appears:

Verification Failed

There was an error connecting to the Apple Account server.

The iCloudHome log records:

ConnectToiCloudPage::InitiateLogin Validating credentials ...

AKWinUIProvider::PresentLoginAlert AuthKit needs to show a login alert

(There was an error connecting to the Apple Account server.,

Verification Failed)

ConnectToiCloudPage::InitiateLogin Credential validation finished

abnormally...

FeedbackSender::ReportLoginAttempt errorCode=-7005,

extendedErrorCode=-7005, ... httpErrorCode=200 ssoAppType=2

ConnectToiCloudPage::InitiateLogin AKValidateAppleIDCredentials

returned -7005


Note on that log line: the serverErrorCode / httpErrorCode /

piggybackErrorCode / fidokeyErrorCode / anisetteErrorCode fields are

uninitialized junk in this build - three of them decode to the ASCII string

"default" cast to an integer (e.g. 28258988067220596 = 0x64656661756c74).

Only errorCode=-7005 appears to be meaningful.


EXPECTED RESULT

Sign-in completes (2FA prompt if applicable) and the account is configured.


REPRODUCIBILITY

Deterministic - fails every time, ~2-3 seconds after clicking Sign-In.


It fails identically:

* on two completely different networks (home Wi-Fi behind a router at

192.168.99.1, and an iPhone personal hotspot at 172.20.10.1 with a

different DNS resolver and different Apple edge IPs);

* before and after Reset-AppxPackage;

* before and after a full uninstall and fresh reinstall from the Store,

with all legacy Apple desktop components removed

(Apple Application Support 8.7 32/64-bit, Bonjour 3.1.0.1,

iCloud Outlook 13.4.0.101, plus their Program Files / ProgramData

folders).


WHY THIS LOOKS LIKE A CLIENT-SIDE DEFECT, NOT A LOCAL MISCONFIGURATION

Verified working on the same machine, same attempt window:


* The Apple ID and password are correct - the same credentials sign in

successfully at appleid.apple.com in a browser.

* TCP 443 reachability and TLS certificate validation succeed for every

endpoint the app uses. These hostnames were extracted from Apple's own

binaries (iCloudHome.exe, iCloudCKFS/CFNetwork.dll):

gsa.apple.com, account.apple.com, idmsa.apple.com,

setup.icloud.com, gateway.icloud.com, www.icloud.com,

ocsp.apple.com, push.apple.com, metrics.icloud.com,

feedbackws.icloud.com, support.apple.com, www.apple.com

All: TCP 5/5, TLS verification result 0 (success).

* WinHTTP - the HTTP stack iCloudHome.exe itself uses - gets normal

responses from these endpoints (HTTP 200/401/404 as appropriate).

* No Schannel errors are logged (System event log) during the app's

sign-in attempts, i.e. the app's TLS handshakes are succeeding.

* Observation during an attempt: iCloudHome connects successfully to

gsa.apple.com's IPs and then the connections are closed by the peer

while the app retries in a loop, ending in -7005.

* No proxy and no WPAD server; Windows Firewall has an allow rule for

iCloud and no outbound block rules; hosts file clean; system clock and

timezone correct.

* Local crypto and credential stack verified functional:

KeyIso / VaultSvc / CryptSvc / TokenBroker services running; RSA and

ECDSA key generation OK; self-signed certificate creation OK; DPAPI

round-trip OK for both CurrentUser and LocalMachine; Credential Manager

reachable.


One genuine pre-existing defect was found and fixed on the machine, and did

not resolve this: the Windows trusted root store had no Apple CA, which

originally made gsa.apple.com fail TLS with SEC_E_UNTRUSTED_ROOT. Apple

Root CA and Apple Server Authentication CA were installed (verified

byte-for-byte against https://www.apple.com/appleca/AppleIncRootCertificate.cer).

-7005 persists afterwards.


Suspicion: an incompatibility between the iCloud 15.10 AuthKit path and this

Windows build (26H2 / 26300.9711). A mapping for the error code would help -

the enum 7000-7009 is present in Apple's APLZOD6432.dll but the code's

meaning is not documented.


8 replies

I've got the same problem

# iCloud for Windows Login Failure — -7005 (Windows 11 26H2)


**OS:** Windows 11 Pro, Build 26200.9711 / 26300.9711 (26H2)

**App:** Apple iCloud for Windows — tested Store 13.4.101, traditional 7.21, 15.10

**Network:** Direct to Apple endpoints (appleid.apple.com / idmsa.apple.com / gsa.apple.com) — HTTP 200 verified

**Proxy:** v2rayN at 127.0.0.1:10808; system ProxyEnable=0, no TUN adapter

**Time / CA / DNS / Hosts / Credentials:** all verified correct; Apple Root CA present


**Error:** Client shows “Failed to connect to Apple ID server” with code -7005.

**Evidence:** Log shows `AKValidateAppleIDCredentials returned -7005`; feedback payload shows `httpErrorCode=200`, `anisetteErrorCode` non-zero, `fidokeyErrorCode` non-zero, `piggybackErrorCode` non-zero. Network succeeds; failure is in Apple AuthKit / anisette identity layer.


**Excluded:** System time/zone, TLS 1.2, Hosts file, third-party AV, Credential Manager, DNS, Windows Update / BITS.


**Tried (all failed):**

- Full uninstall/reinstall of Store + traditional iCloud

- AppX reset (Reset-AppxPackage), wsreset

- Older iCloud version 7.21

- Windows OS update to latest (still 26200.9711)

- Stop/disable Apple Mobile Device Service + Bonjour, reboot, reinstall

- Clear all Apple directories + registry entries


**Critical finding:** Suspected incompatibility between iCloud 15.10 AuthKit path and Windows 11 26H2 build 26200.9711 (same symptom reported on 25H2 per discussions.apple.com/thread/256377160).


**Request to Apple:**

1. Confirm if -7005 on 26H2 is a known AuthKit compatibility issue.

2. Any temporary workaround (web iCloud, registry/CA fix, build update)?

3. Pending fix timeline?

4. Ready to provide sanitized logs if needed.




ungemini (author)

Perhaps to locate Feedback channel or form that may redirect this concern

to Apple most directly; because Apple Inc does not interact in these forums.


One of the Feedback pages introduces "Feedback", and resources available.

Feedback - Apple.com Website - Apple

Portal to see where a 'hardware or software' issue may be addressed


Feedback - iCloud - Apple

"Use the form below to send us your comments. We read all feedback

carefully, but we are unable to respond to each submission individually.

If you provide your email address, you agree that we may contact you to

better understand the comments you submitted."

* Indicates required field.


Apple Account: Sign-in and Manage (This used to be called Apple ID)

https://account.apple.com/


An iCloud Portal to Sign-in and Access your account

https://www.icloud.com/


Looking for support?

Visit the Apple Support site


Note:

"If you need support for your Apple product or service,

please visit the Apple Support site for assistance"


[The form indicated in screenshot above should allow one to choose

an issue and tell Apple the details of how it affects your iCloud uses.]

Exact same symptoms with me, but I also want to note there is a multitude of people on reddit too who aren't looking here, and have this same problem. So it's very widespread, not just the handful of us here.

same issue, couple of days already, Verification Failed due to Apple Account server connection error

same issue, i loose 1 full day to troubleshoot it.

Come on apple..

windows 11 26h2

My account finally got verified today.

Same issue - I cannot do without passwords and am thus moving my activities away from icloud as I cannot not have this access