Comments (1)
@Wopienkaatwork The certificate you are using must be imported in the certificate store of the local machine, e.g. using certutil
. Below you find an example how I do it on an Azure Runbook Hybrid Worker in System context.
$certPath = "C:\certificate.pfx"
$certificate = Get-PfxCertificate -FilePath $certPath
$thumbPrint = $certificate.Thumbprint
$null = "" | certutil -f -importpfx $certPath NoRoot
Export-M365DSCConfiguration...
The certutil
command imports the pfx without the Root certificate in its chain and overwrites any previously existing certificate with that name. You could do this with Import-PfxCertificate
as well, but in my case that didn't quite work out. But that's another story.
from microsoft365dsc.
Related Issues (20)
- How come Roadmap/Backlog is stopped in Azure DevOps HOT 2
- EXOHostedContentFilterPolicy documentation has a bug
- ExoAuthenticationPolicyAssignment: Only returning 1000 users for each authentication policy when exporting
- EXOHostedContentFilterPolicy supports some MSFT deprecated settings
- M365DSCRuleEvaluation: Is not evaluated with Assert-M365DSCBlueprint HOT 3
- All Conditional Access policies fail to be migrated with non-terminating errors during Start-DscConfiguration HOT 4
- What are the permitted values of [AADConditionalAccessPolicy]: TransferMethods ? HOT 1
- IntuneAccountProtectionLocalAdministratorPasswordSolutionPolicy: Cannot compile if PasswordComplexity is set to 5
- AADServicePrincipal: BUG DSC Drift on AADApplication AppId Guid HOT 1
- Every time I use Start-DscConfiguration I get errors about needing to connect to MS Graph
- MSFT_AADCrossTenantAccessPolicyConfigurationPartner generates invalid config data
- EXOAntiPhishPolicy: missing parameters DmarcQuarantineAction & DmarcRejectAction
- AADGroup - ENHANCEMENT - Enterprise App Service Principal Assignment to Group
- AADGroup - ENHANCEMENT - Add Roll Assignment Scope to Groups
- Script fails with the final line stating: Connecting to {PnP}...❌ HOT 3
- ExoRoleGroup: Member assignment issue for Role Groups with empty members
- [ODSettings][SPOSharingSettings]: Constant Drifts Detected
- customer reporting HOT 5
- MFST_AADEntitlementManagementConnectedOrganization can fail with empty DisplayName during export
- Error The WMI service or the WMI provider returned an unknown error: HRESULT 0x80041033 when importing ActiveSyncDeviceAccessRules HOT 30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft365dsc.