1
00:00:02,140 --> 00:00:04,800
Now that we have covered sites, let's talk

2
00:00:04,800 --> 00:00:08,020
about hub sites. Hub sites are modern

3
00:00:08,020 --> 00:00:11,210
SharePoint sites that are promoted to or

4
00:00:11,210 --> 00:00:14,620
registered as a hub site. They can either

5
00:00:14,620 --> 00:00:17,180
be a modern team site or a modern

6
00:00:17,180 --> 00:00:20,230
communication site. Once you've registered

7
00:00:20,230 --> 00:00:23,350
them, the global navigation will be added

8
00:00:23,350 --> 00:00:26,300
automatically, and you can also configure

9
00:00:26,300 --> 00:00:29,390
who is allowed to add sites to the hub.

10
00:00:29,390 --> 00:00:32,600
And if you want to, you can even configure

11
00:00:32,600 --> 00:00:34,890
an approval workflow by using Microsoft

12
00:00:34,890 --> 00:00:38,700
Flow before a site is added to a hub. The

13
00:00:38,700 --> 00:00:41,400
limit at the time of recording this course

14
00:00:41,400 --> 00:00:45,350
in September 2019 was of 2000 hub sites

15
00:00:45,350 --> 00:00:48,990
per tenant. To register a hub site from

16
00:00:48,990 --> 00:00:52,340
the admin center, simply select the site

17
00:00:52,340 --> 00:00:54,860
and click the Register as a Hub Site

18
00:00:54,860 --> 00:00:57,560
button. You can then give it a different

19
00:00:57,560 --> 00:01:00,450
name. You can decide who can associate

20
00:01:00,450 --> 00:01:03,150
sites with the hub, and those can be

21
00:01:03,150 --> 00:01:06,540
direct users, security groups, or even

22
00:01:06,540 --> 00:01:10,690
Office 365 groups. To register a hub site

23
00:01:10,690 --> 00:01:12,800
with PowerShell, we can use the

24
00:01:12,800 --> 00:01:16,670
Register‑SPOHubSite PowerShell cmdlet and

25
00:01:16,670 --> 00:01:19,620
then give it the site, as well as user IDs

26
00:01:19,620 --> 00:01:21,785
that we want to allow to be able to add

27
00:01:21,785 --> 00:01:25,660
sites to this hub. If we want to add users

28
00:01:25,660 --> 00:01:28,430
afterwards that can join sites to the hub,

29
00:01:28,430 --> 00:01:29,550
we can do it via the

30
00:01:29,550 --> 00:01:33,185
grant‑SPOHubSiteRights PowerShell cmdlet

31
00:01:33,185 --> 00:01:36,700
and specify the principles and rights

32
00:01:36,700 --> 00:01:41,020
parameters. To associate other sites to a

33
00:01:41,020 --> 00:01:41,975
hub, we can use the

34
00:01:41,975 --> 00:01:44,469
Add‑SPOHubSiteAssociation PowerShell

35
00:01:44,469 --> 00:01:48,670
cmdlet, specify the site that we want to

36
00:01:48,670 --> 00:01:51,810
attach to the hub, as well as the hub site

37
00:01:51,810 --> 00:01:54,930
to which it should be attached. If you

38
00:01:54,930 --> 00:01:58,010
want to unregister a hub site, you can use

39
00:01:58,010 --> 00:01:59,688
the Unregister‑SPOHubSite PowerShell

40
00:01:59,688 --> 00:02:04,280
cmdlet and specify the site that should be

41
00:02:04,280 --> 00:02:12,000
unregistered, and it really just returns back to a normal SharePoint site.

