You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] Teamifying site at URL - https://myCompany.sharepoint.com/teams/teamify5 failed due to an exception:- {"odata.error":{"code":"10005","message":{"lang":"en-US","value":"Authentication method is not allowed."}}}
#4430
I try to teamify a SharePoint site and using the command Invoke-PnPTenantTemplate and get the warning below.
I am global admin
Expected behavior
I expect a teamified SharePoint site without warnings/errors.
Actual behavior
Teamifying site at URL - https://myCompany.sharepoint.com/teams/teamify5 failed due to an exception:- {"odata.error":{"code":"10005","message":{"lang":"en-US","value":"Authentication method is not allowed."}}}
Steps to reproduce behavior
$alias = "teamify5"
# Connect to the target tenant with app-only context
Connect-PnPOnline https://myCompany-admin.sharepoint.com/ -Interactive
# Apply the tenant template
Invoke-PnPTenantTemplate -Path "C:\PS\Diversen\template.xml" -Parameters @{"TeamTitle"=$alias;"TeamAlias"=$alias}
What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?
This discussion was converted from issue #3585 on October 11, 2024 19:34.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Reporting an Issue or Missing Feature
I try to teamify a SharePoint site and using the command Invoke-PnPTenantTemplate and get the warning below.
I am global admin
Expected behavior
I expect a teamified SharePoint site without warnings/errors.
Actual behavior
Teamifying site at URL - https://myCompany.sharepoint.com/teams/teamify5 failed due to an exception:- {"odata.error":{"code":"10005","message":{"lang":"en-US","value":"Authentication method is not allowed."}}}
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions