Priority
(Low) Something is a little off
Description
The command m365 spo appage set is not working when you try to set an apppage on the root site collection of your tenant
Steps to reproduce
Execute m365 spo apppage set --webUrl https://mathijsdev2.sharepoint.com --name Test.aspx --webPartData $webPartData
Expected results
For it to update the apppage
Actual results
Error: URL is not web relative
Additional Info
I found out that the serverRelativeUrl in the requestOptions is retrieved wrongfully. It adds a double '/' character, for example:

Priority
(Low) Something is a little off
Description
The command
m365 spo appage setis not working when you try to set an apppage on the root site collection of your tenantSteps to reproduce
Execute m365 spo apppage set --webUrl https://mathijsdev2.sharepoint.com --name Test.aspx --webPartData $webPartData
Expected results
For it to update the apppage
Actual results
Error: URL is not web relative
Additional Info
I found out that the

serverRelativeUrlin the requestOptions is retrieved wrongfully. It adds a double '/' character, for example: