Feb 27 2023 10:44 AM
I am using configuration profile to push device cert through Intune and get the cert installed. I am not sure how would I do it for a CERT that has a password.
I was trying using OMA-URI custom profile, but then again I do not know the "scope" if this cert needs to be installed under Personal folder. Any ideas or suggestions or any other easy method to push it?
Feb 28 2023 01:51 AM
Feb 28 2023 12:14 PM
Feb 28 2023 01:29 PM
Mar 01 2023 12:25 PM
Mar 02 2023 06:30 AM
Mar 02 2023 09:21 AM
SolutionMar 02 2023 11:32 AM
Mar 02 2023 11:46 AM
Mar 02 2023 11:55 AM
Mar 02 2023 12:06 PM
Mar 02 2023 12:25 PM - edited Mar 02 2023 12:29 PM
I missed the - before AsPlainText
Import-pfxcertificate : The PFX file you are trying to import requires either a different password or membership in an Active Directory Principal to which it is protected.
Googling this I came across 2 things
Try surrounding the plain text password with single quotes instead of double quotes. I had a password with $ in it that gave me the same error until I swapped the quotes.
With Single quote I get 0x8007005 E_ACCESSDENIED
Mar 02 2023 12:33 PM
Mar 02 2023 12:34 PM
Mar 02 2023 12:40 PM
Mar 02 2023 12:45 PM
Mar 02 2023 12:52 PM
Mar 02 2023 12:55 PM
Mar 02 2023 12:58 PM
Mar 08 2023 06:33 AM