Closed keyiwu closed 5 months ago
Get-Command -name Import-Certificate
it is working
Import-Certificate -CertStoreLocation cert:\$machine\Root ${C:\Users\keyiwu\.office-addin-dev-certs}
not working
Access to the path 'C:\Users\keyiwu.office-addin-dev-certs'
At line1 char1
+Import-Certificate -CertStoreLocation cert:\$machine\Root ${C:\Users...
+
+CategoryInfo : PermissionDenied. (C:\Users\keyiwu.office-addin-dev-certs:String) [], UnauthorizedAccess
sException
+FullyQualifiedErrorId:GetContentReaderUnauthorizedAccessError
os:windows 10 19041.3803 powerShell:5.1.19041.3803 PSEdititon: Desktop node :18.13.0 npm:8.19.3 Step1: npm install --global office-addin-dev-certs Step2: npx ooffice-addin-dev-certs install result: