I'm using the flow action Create Modern SharePoint site
to create a site as TeamSiteWithoutGroup.
When it run I get the error
Current site is not a tenant administration site.
I'm using an Admin API key for auth due to MFA authentication and this works for other action like setting the description of site using Update Site Properties action.
Hi Evgeniy,
also resolved this with a support ticket.
This is with a new Office 365 tenancy using the security defaults, so App passwords are disabled and for the sake of just this action I'm not switching the security defaults off.
Hello Gavin! Thank you for sharing results of the case. I passed your reply to developers, perhaps they will be able to find out how to avoid using the custom credential API key.
In my flow I can create a team-site and provision a pnp.template to it. But for one template type, it displays the message: Current site is not a tenant administration site. The site I apply the template to has been created with a sent https request. The exact same settings for meeting site condition. A meeting site uses a teamsite with no connected groups and then it applies the pnp template.
How can i solve it?
I built a switch in the workflow based on template value. For a meeting-site, it works. If I pick a team-site, it fails with this message. I created the pnp template the same way.
Ron, could you also share the raw inputs of the failed action and screenshots of the flow configuration in the ticket you raised? When taking the screenshots, please ensure that all steps are unfolded and fully visible so that we can re-produce your automation.