microsoft / Intune-Resource-Access

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

issuerName in DownloadCARevocationRequests not working as expected #132

Open jpesola opened 1 year ago

jpesola commented 1 year ago

Hi,

I'm calling the Java Intune Resource Access API method DownloadCARevocationRequests with "issuerName" parameter set, but it's not returning any requests.

My issuing CA certificate's subject is "cn=My Issuing CA,c=SE", and I'm trying to pass the issuerName value as "cn=My Issuing CA,c=SE", but I'm still receiving an empty list of revocation requests.

If I pass the issuerName parameter value as an empty string or as null, then I do receive the expected revocation requests correctly.

Is the format I'm using for issuerName wrong, or could there be a problem in how the issuerName is handled?