Does anyone know how to get this information through rest API or PowerShell? I wanted to know if the tenant I am working with is using "/teams/" or "/sites/". I am creating an application that needs to know this setup for my client.

How to set the default path for creating new sites

1 Answer 1


As far as I know, there is no such function or api to get the setting of the default url currently.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.