Hello @Maggiore, Marco (IST-BRUNELENERGYPL) !
Thanks for the message and the clarification
The error ID points to Authentication as i have seen around
It does not matter where your Pipeline is located . Authentication and Authorization are different things and no matter where requests come from , they should authenticate and be authorized if needed
Even if you are using a SP does not change the fact that you still need to Authenticate
The SP has the ability to do so and you correctly did the steps with the App Registration , but based on the error something is wrong, and clearly to register an app does not mean Authentication is open and ready to execute code! You need to acquire a Token for example and you can do that since you have Registered the APP . The process provides you the ability to do so , but how do you do it ?
Are you using OAuth for example ? Have you verified the request is formatted as Sharepoint API expects it ?
Is there Logging to check deeper ?
cannot clearly see the code on the PIC so kindly post it in text so i can have a better look
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!