-
Notifications
You must be signed in to change notification settings - Fork 532
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
Constantly fails #5774
Comments
@santiago1976 How about an error description or any other relevant information that could help pinpoint the issue? Blowing off steam isn't helpful at all. |
Thanks for the details. Please execute the following and show us the output of it: Connect-MgGraph -Scopes Sites.Read.All
Invoke-MgGraphRequest -Uri /v1.0/sites/root This will connect to Microsoft Graph and fetch the current root site of your Sharepoint address. I assume you have Sharepoint set up? Otherwise it might not return any results. I quickly checked for my account and authentication works with Global Administrator assigned. |
That's strange. Quick question: Do you provide the username (upn) with the .onmicrosoft.com domain? Try it that way please. It could be that Sharepoint doesn't like it if you specify another domain. |
Yes, always use that user: admin@M365x40866878.onmicrosoft.com |
Did you already try a command that only exports a single resource, e.g. |
You have to assign $cred = Get-Credential
Export-M365DSCConfiguration -Components @("SPOSite") -Path C:\Temp -Credential $cred -Verbose |
Great that it works now. For your information, we will release a version with important bugfixes tomorrow. So please update to the latest version on Thursday to make sure you get them. Exports currently will contain a couple of issues unfortunately. That's probably why you have all those |
Can you run > Get-Command "Get-DscResource"
CommandType Name Version Source
----------- ---- ------- ------
Function Get-DscResource 1.1 PSDesiredStateConfiguration |
Alright. It seems like that on your machine, the module |
But, I don't understand, I have W11, so I understand I'm using the lastest versions of powershell. No? I'm not sure If you can install powershell 1.0 into W11... |
You only have to copy the |
Description of the issue
3 hours trying to use this tool....
Installing and reinstalling and updating powershellls and not working. Why you don't publish a simple powershell that works?
Errors with Save-Credentials, Connect-M365Tenant, Sites.Read.All,... If I am the admin role !!!
Microsoft 365 DSC Version
last
Which workloads are affected
SharePoint Online
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: