microsoft / Intune-Resource-Access

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

Unable to instantiate the IntuneScepServiceClient (Java) #60

Closed mstenback closed 4 years ago

mstenback commented 4 years ago

Attempt to instantiate IntuneScepServiceClient fails without error message.

The best I can tell, the cause seems to be the value of intuneResourceUrl, which is set in the IntuneClient -class (line 83): https://api.management.microsoft.com

That domain no longer exists. I guess it has been replaced by the Microsoft's Graph API?

Will there be an update to the csrValidation -library that fixes this issue?

tynidev commented 4 years ago

This URL is not used as an endpoint but instead as a resource to be requested. It was never a valid URL and isn't supposed to be.