Hi @David Gallego,
Hope everything is going well.
According to the log messages you provided, we can tell that two values are missing from your token: application identifier and tenant identifier.
- Application identifier is the application ID, which is generated when we register Add-ins.
- Tenant identifier is the tenant ID, which is the unique ID that identifies your tenant.
However, in the high-trust authorization system for SharePoint Add-ins, the token is typically signed with a certificate rather than using an application ID and tenant ID.
I have read through the token generation process carefully, and there doesn't seem to be any mention of needing these two values. If your token is working fine, please ignore these errors.
If you still need to know the source of these errors., the best way to troubleshoot this issue further is to report it to the related team who has higher permission to investigate this issue from back end, collect the background logs and help you find the root cause.
In this situation, I sincerely recommend that your open a ticket for this issue.
Please do not hesitate to contact me if you have any questions.
Moreover, If the answer is helpful, please click "Accept Answer" and kindly upvote it. It will be beneficial to more community members reading here.
Your kind contribution is much appreciated.