Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

AAL for Windows Store - strange exception

$
0
0

I'm trying to authenticate using AAL for Windows Store version 0.61 and get the following error from AcquireTokenAsync:-

Error: authentication_failed

Error Description: Value was either too large or too small for a UInt32.

(I also have a WPF app using ADAL 1.02 which happily authenticates with my Azure tenant so I know the Azure side of things is fine and I'm using the same tenant, resource, clientId, etc. for the store app)

The first time I tried this last night it worked.  Today it doesn't!

I suspected the problem might be the TokenCache and have attempted to remove any tokens by calling

AuthenticationContext.TokenCache.Remove(newTokenCacheKey(_authority, _resource, _clientId));

but still get the error.  I'm targeting Windows 8.1.

Any suggestions?

Thanks

Michael.


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>