microsoft / Intune-Resource-Access

Sample code and scripts for interfacing with the Intune Resource Access APIs.
MIT License
55 stars 59 forks source link

Authentication token seems lost on a consecutive Get-IntuneUserId call #78

Open MonteCrypto opened 4 years ago

MonteCrypto commented 4 years ago

In V1.1, after importing PFX certificate(s) (via Import-IntuneUserPfxCertificate) for a user X a consecutive call GetIntuneUserId for user Y is failing with error “One or more errors occurred”.