Troubleshooting WikiPakk License Issues
What if the “Could not find a valid license” message is shown despite having a valid license key in place?
This guide helps you troubleshoot the SharePoint page tree and breadcrumb navigation provided by WikiPakk.
Click the Page Tree button to open the page tree panel.
In the panel, scroll down (if necessary) until you see the question mark (?) link.
Click the question mark (?) link to open the About dialog.
The about dialog shows the version (sample: 2.7.0.0 & 2.7.0).
The SharePoint page tree gets hierarchy information from different sources, depending on whether it is showing regular SharePoint modern pages, or pages that have been migrated from Confluence to SharePoint.
For the hierarchy to work there need to be:
The page tree might be incomplete if any of those is missing.
Let’s assume the parent page of a page is missing in the page tree.
First, open the “aggregated-info” progress log files for the Confluence space this page was in and check that all pages have been migrated. If there are pages yet to be migrated, migrate them and check back if the page tree looks good after doing that.
If the issue persists, continue.
To diagnose the issue we first need to find out if the parent page has been migrated yet.
Open the page, whose parent page is missing, here it is arc42:

The Confluence page ID is part of the page URL. Copy this page ID. In the screenshot this is 2293795.
We are now going to look up the parent page ID and parent page.
Open the Site Pages library. Make sure to add the columns Confluence: Id (WikiTraccs) and Confluence: Parent Id (WikiTraccs) to the current view.
Filter the column Confluence:Id (WikiTraccs) for the page ID, here 2293795:

In the screenshot above the parent page ID is zero (0), which indicates this is a root page that has no parent page. This was the root page of a Confluence space. Note that there can be multiple such root pages per space.
Everything is fine in this case.
But imagine the parent page ID being 123456. If this was the case, do the following: filter the Confluence: Id (WikiTraccs) column for the parent page ID (here: 123456), to find the parent page.
Can no such parent page be found? The page has not yet been migrated and the tree is correctly showing no parent page. In this case, migrate the missing page.
Can the parent page be found? The page tree should display it. There might be an issue with the page tree if the parent page exists, but is not shown in the page tree. In this case, copy the log (see next section on how to do this), and send the log, the page ID, the parent page ID and the progress log files for the space to [email protected] for further diagnosis.
In the page tree panel, click the question mark to open the About dialog:

In the About dialog, click Page tree diagnostics to expand the section, then click Collect diagnostic information.

Now text should appear in the text box. Copy all this text and send it to support upon request.
If the page tree button and breadcrumb are completely missing from a SharePoint site, the WikiPakk application customizer might no longer be registered on that site. This can happen when an admin removes or re-deploys the app, or when the app catalog entry is retracted.
You can verify whether the WikiPakk application customizer is active on a site by querying the SharePoint REST API for custom actions.
Build the URL by combining your site URL with the REST API path for user custom actions:
https://COMPANY.sharepoint.com/sites/YOURSITE/_api/Web/UserCustomActions
Replace COMPANY with your SharePoint tenant name, and YOURSITE with the name of the affected site.
Open this URL in the browser while logged in as a site admin. The response is an XML or JSON document listing all custom actions on that site.
Look for the WikiPakk application customizer GUID:
2d767101-dd5b-447d-bc25-03bd6191e469
Search the response for this GUID (use Ctrl+F in the browser). It should appear as a ClientSideComponentId value in one of the custom action entries, with Location set to ClientSideExtension.ApplicationCustomizer.
If the GUID is missing, the WikiPakk application customizer is not registered on this site. To fix this, re-add the WikiPakk app to the site:
After re-adding the app, reload any modern page on the site. The page tree button should appear again.
If the page tree is not showing up but the application customizer is present, permissions might be the cause. A quick way to check is to add one of the WikiPakk web parts to a page.
If the web part renders normally, permissions are fine. The issue is likely elsewhere (check the browser console logs as described below).
If the web part shows an error, this points to a permission issue. The most common cause is that the current user does not have access to the tenant app catalog site where WikiPakk assets are hosted. See Guest Users Cannot See the Page Tree for instructions on granting the required access.
If no WikiPakk web parts appear when searching, the WikiPakk app has not been installed on this site or has not been deployed to the tenant app catalog.
The log can be found in the browser console.
To view and copy the log of the SharePoint page tree and breadcrumb follow these steps:

Developert tools, showing log entries of WikiPakk
The console should now show lots of log entries from WikiPakk, like in above screenshot.
When being asked for, copy all those log entries and send them to [email protected].
What if the “Could not find a valid license” message is shown despite having a valid license key in place?