-
Notifications
You must be signed in to change notification settings - Fork 225
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
sharepoint will be omitted from the output because of failed authentication #1407
Comments
Could you try this command in a PowerShell terminal, try signing in with the same user, and see if the authentication succeeds?
May be related to a ADFS claim rule blocking legacy auth |
The command seems to work, I am not receiving any errors. |
@buidav , Thank you for the update, the issue persists when inserting the suggested line as follows:
|
Thanks! We'll include the fix in a future release. In the meantime, to bypass the error, running ScubaGear with service principal auth will bypass the error. |
@albert-widjaja |
I am trying to integratie your fix, adding the paramters: However I get some simalar as albber-widjaja:
I have tried Initialize-SCuBA but without succes. |
So the error doesn't appear when running this command by itself but it appears when you're trying to include the parameters within ScubaGear?
|
After creating a new tenant to test Scuba, I run the command:
Invoke-SCuBA -ProductNames aad, defender, exo, powerplatform, sharepoint, teams
After loging in as a user with the permissions set as desribed (but also as the global admin) all tests run fine, except for Sharepoint. I receive the error: "sharepoint will be omitted from the output because of failed authentication"
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the Sharepoint test to run like the other tests.
Any helpful log output or screenshots
Connect-Tenant : Error establishing a connection with sharepoint. Could not connect to SharePoint Online.
At C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.3.0\Modules\Orchestrator.psm1:1187 char:26
($PSVersionTable).PsVersion
Major Minor Build Revision
5 1 22621 4391
(Get-Module -ListAvailable -Name Microsoft.Online.SharePoint.PowerShell).Version
Major Minor Build Revision
16 0 24810 12000
The users has the Sharepoint administrator role, the other account is global admin, but both give the same result.
The text was updated successfully, but these errors were encountered: