Closed TitaAE closed 7 months ago
@TitaAE : what's the command line you're using? Can you past the content of the appsettings.json? See https://pnp.github.io/pnpassessment/using-the-assessment-tool/configuration.html#vanity-url-configuration for instructions on how to configure the file for a tenant using vanity URLs. Also do note that you've to specify the sites to assess via parameters, enumerating all vanity URLs is not supported
Hi, This is the command, when I go with single site its fine, but when I need to go through all tenant, where I place tenant URL, error report pops up. .json file has basic settings as per manual, but it has the same link as command, so file is useless.
These settings are incorrect @TitaAE. First question: are you using vanity URL's? These are URLs that do not use sharepoint.com or sharepoint.us as domain? If not, then just delete the appsettings file, if you are then please specify the appsettings.json file as explained here https://pnp.github.io/pnpassessment/using-the-assessment-tool/configuration.html#vanity-url-configuration.
Hi @jansenbe, you are correct my tenant is using vanity URL's. I would like to work without appsettings file is possible. I was looking at the guide you provided, so if I am using vanity url (https://contoso.net.com) - this url is used in admincenterurl how do I call that file, didn't notice any switch for that.
@TitaAE : you have to use an appsettings file for vanity URLs (see https://pnp.github.io/pnpassessment/using-the-assessment-tool/configuration.html#vanity-url-configuration, important that you also specify the mysitehosturl) and you have to specify the sites to assess, specifying the tenant id is not going to work (like you've noticed). Common pattern other vanity URL customers apply is creating a txt file listing all the site collections to assess and then specify that on the command line, see https://pnp.github.io/pnpassessment/using-the-assessment-tool/assess-start.html#scoping-via---sitesfile
@TitaAE : did the above help?
Thx for help
Trying to assess SharePoint online and I get this error message.
I’ve tried adding appsettings.json as stated in manual added my vanity URL, but still same error. Tried to look for vanity switch but there is none.
Can anyone help me with this? I would really appreciate it.
Kind regards,