Hello @Saffar
This error message indicates that the URI you are using is not valid.
To fix this issue, you can try the following steps:
- Check the URI you are using and make sure it is correct. The URI should be in the format
api://{Application ID}
. You can find the Application ID in the Azure portal under the "App registrations" section. - Make sure that the Application ID you are using is correct and matches the one in the Azure portal.
- If you are still having issues, try creating a new application registration in the Azure portal and use the new Application ID and URI.