Hello,
on our Sharepoint Server SE Farm (KB 5002705), Site Collections using modern site templates (teams site and communication) are missing the top bar displaying the Gear Icon for accessing the site settings and the currently logged in user. Non-modern site templates seem to be working just fine.
On the JS Console, the following error is logged:
sp-pages-assembly.js?uniqueId=mwScc:1281
Uncaught (in promise) Error: Failed to retrieve Hybrid SuiteNavData
at e._logAndThrowSuiteNavLoadingError (sp-pages-assembly.js…Id=mwScc:1281:37286)
at sp-pages-assembly.js…Id=mwScc:1281:37101
The cause seems to be this Javascript-Code calling an api endpoint and expecting a NavBarData attribute, while whats actually returned is the JSON below:
var e = this, t = this._siteRelUrl + "/_api/Microsoft.SharePoint.Portal.SuiteNavData.GetSuiteNavData?v=2&Locale=" + this._currentUICultureName;
return this._spHttpClient.get(t, C.SPHttpClient.configurations.v1).then((function(t) {
return 200 !== t.status && e._logAndThrowSuiteNavLoadingError(),
t.json().then((function(t) {
if ("" !== t.value) {
var n = JSON.parse(t.value);
return n.NavBarData && !n.NavBarData.Dimensions && (n.NavBarData.Dimensions = {
Top: Z._defaultSuiteNavHeight
}),
n
}
e._logAndThrowSuiteNavLoadingError()
}
))
}
))
{
"@odata.context": "https://<sitecollection_url>/_api/$metadata#Edm.String",
"value": ""
}
Is this a known issue or is there any way to fix this?
Any help would be appreciated!