Hi Guys,
I'm getting an error while removing the SPO page header (GetmyData)while running this script. And this is happening recently not sure why ? any advise
I'm running with administrator access
How to remove title header in the SPO page
$PageName = "GetMyData"
$LoginUrl = "https://contoso.sharepoint.com/sites/GetMyData"
Connect-PnPOnline -Url $LoginUrl -UseWebLogin
Set-PnPPage -Identity $PageName -LayoutType Home


