Hi @DigitalPro ,
Thanks for reaching out.
Unfortunately, as of now it is not possible to update the claims using API connector when refreshing the token. However, we can update the claims which are in the directory using refresh token.
The API is only invoked during an initial authentication. When using refresh tokens to silently get new access or ID tokens, the token will include the values evaluated during the initial authentication.
I would suggest you post this idea at the Azure Feedback Portal, which is monitored by the product team for feature enhancements.
As a workaround, I am checking internally with in the team if we can update the claims using custom policy calling REST API services or not.
Hope this will help.
Thanks,
Shweta
-----------------------------------------------
Please remember to "Accept Answer" if answer helped you.