@Hurtado Gomez Julian Thank you for reaching out to us.
Could you help me out with more information on the steps/actions being performed when you are getting this error.
We usually see this error AADSTS650051: The application needs access to a service that your organization {Directory-Name} has not subscribed to. Please contact your administrator to review the configuration of your service subscriptions.
This means one or more of the resource APIs within the applications required permissions do not exist in the organization the user is signing in to. We generally see this with multi-tenant applications where the user is trying to access a application and resource API that exists in another directory.
Reference:
https://www.adenin.com/support/knowledge-base/how-to-resolve-error-aadsts65001/
Let me know if you have further questions.