microsoft / Intune-Resource-Access

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

Remove-IntuneUserPfxCertificate #157

Open MaximilianSpring opened 2 months ago

MaximilianSpring commented 2 months ago

Hey guys, i have a little problem to delete a previous uploaded certificate. I tried lots of ways an even the graph execution looks good (status 204), but the certificate will not be deleted and is still present. Powershell command Remove-IntuneUserPfxCertificate -UserThumbprintList is not working by the way.

What i'm doing wrong?

Used command: DELTE deviceManagement/userPfxCertificates/{userPFXCertificateId}

Hope you can help me.

jaiprakashmb commented 2 months ago

I need some more details to understand the problem here. Do you have network trace of the API call? Or anything that had the request details?