Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While Exporting Configuration of Planner | It return an empty .ps1 File #4733

Open
RohitRaj-18 opened this issue Jun 4, 2024 · 2 comments
Open

Comments

@RohitRaj-18
Copy link

Description of the issue

I have been trying to export the Configuration of Planner using DSC. While running in PowerShell Window i can see its going through all the component however the upon completion its giving an empty .ps1 output file.

Microsoft 365 DSC Version

1.24.515.2

Which workloads are affected

Planner

The DSC configuration

Export-M365DSCConfiguration -Components @("PlannerBucket", "PlannerPlan", "PlannerTask") -ApplicationId $AppID -TenantId $TenantID -CertificateThumbprint $CertificateThumbprint -Path ($Path +"\Planner") -FileName plannerConfig.ps1

Verbose logs showing the problem

No response

Environment Information + PowerShell Version

No response

@adhodgson1
Copy link
Contributor

I've been seeing a few of these issues recently. To troubleshoot them I have ran the relevant Get command in PowerShell to get the relevant items and this usually reveals an underlying error which doesn't seem to be handled by the export routine. This is especially annoying when it looks as if the export is running through the objects. Also check the Microsoft365DSC event log as sometimes errors can be caught there.

@andikrueger
Copy link
Collaborator

Could you share the graph API permissions of your application that you’re using to export the data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants