
Hi @Ashish Kalsi
From the error message, it seems that application permissions are not supported yet. Please try to grant the corresponding delegated permissions to the calling app, and then request the access token using a delegated flow with user participation, such as auth code flow or ROPC flow.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.