Comments (1)
Having the exact same issue with DSC version 1.24.403.1. In my case, I'm working to extract entire SPO workload with Default mode. The issue started a couple of weeks ago, the last successful export we had for SPO workload was April 1st then we start noticing this issue.
I updated all dependencies and removed the old ones too to no avail. Surprisingly, its only failing when extracting SPO workload and still works fine with other workloads such as EXO and Teams.
Main issues we noticed before the script fail prematurely are:
- Failure to extract some of the SPOApp component
- Failure to extract some of the SPOHubSite component with error (Get-MgGroup .... objects are not present (Not found)
- a Join-Path error after extract complete due to missing an app path then script ends prematurely and fail to export the results
Error logs from today's export attempt:
[2024/04/16 09:12:38] {InvalidOperation} System.Management.Automation.RuntimeException: You cannot call a method on a null-valued expression. at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction
2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
"Error during Export:"
at Export-TargetResource, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.403.1\DSCResources\MSFT_SPOApp\MSFT_SPOApp.psm1: line 395
at Start-M365DSCConfigurationExtract, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.403.1\Modules\M365DSCReverse.psm1: line 649
at Export-M365DSCConfiguration, C:\Program Files\WindowsPowerShell\Modules\Microsoft365DSC\1.24.403.1\Modules\M365DSCUtil.psm1: line 1349
at , C:\Scripts\M365DSCAutomation-SharePoint.ps1: line 52
at , : line 1
TenantId: *******************
`
from microsoft365dsc.
Related Issues (20)
- Looking for appropriate Azure app registration permissions to grant for "update" access to nearly all resources HOT 2
- TeamsFilesPolicy: Cannot create new policies or edit existing ones
- Pragmatic approaches to MFA or alternatives? HOT 5
- New-M365DSCReportFromConfiguration: parsed content was null HOT 8
- Create delta report against DevOps composite resources HOT 2
- WhfB Enrollment Settings
- Entra ID MDM / MAM Scopes
- Device Settings in Entra ID
- [Entra ID] External ID tenant support - Managing User Flows (including ”Authentication condition applications”)
- TeamsTenantDialPlan: Dial plan Priority missing
- TenantId must be in format contoso.onmicrosoft.com
- IntuneAppProtectionPolicyiOS: Assignments not hardcoded to ObjectId
- Add Support for Access Token Auth Across All Resources
- PrimarySmtpAddress / EmailAddresses missing ?
- EXOMailboxPermission : Get-M365DSCExportContentForResource cannot call a null expression on NT AUTHORITY SELF
- Test Method does not work when not defining a 'PrimarySmtpAddress' in for 'EXODistributionGroup'
- DSCParser is not updated to a newer version HOT 1
- ProviderOperationExecutionFailure on import HOT 2
- IntuneDeviceConfigurationWiredNetworkPolicyWindows10: Add certificate name additionally to id HOT 2
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.