Skip to content
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

Issue in Contoso Work Template - Getting WARNING: Hub site association failed: Invalid URI: The URI scheme is not valid. #70

Open
lognagarajan opened this issue Jan 28, 2022 · 0 comments

Comments

@lognagarajan
Copy link

Hi Team,

I am trying to provision contoso work hub template. I did the following steps,

  • Created a communication site "hr-works" is the URL
  • Registered as hub site
  • Created a new communication site "hr-live"
  • Associated the above site with "hr-works"
  • Executing the below script to provision the template

$SiteURL = "https://xxxxxxxx/sites/hr-works"
$TemplateXML ="D:\tenant\contosoworks\source\template.xml"

#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -Interactive

#Apply provisioning Template
Invoke-PnPSiteTemplate -path $TemplateXML

Getting the warning: Hub association is failed at end of the script.

I am using tenant admin to execute this script. I need a help to provision contoso works template in my environment. what are the steps i have to follow. There is no instruction in github repo also.

Help me to figure out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant