If yo want this app to access all the tenant,you need to change the Permission Request XML to this:
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl"/>
</AppPermissionRequests>
The permissions given in the tutorial only allow app access current web site.
More information about add-in permission for your reference:
https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/add-in-permissions-in-sharepoint