@Lovely Joy Orola Thanks for reaching out.
It looks like the error is coming from the token endpoint when you pass the request that was not valid.
As per the documented from Graph API you need to pass as below to get the token.
POST https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token HTTP/1.1 Host: login.microsoftonline.com Content-Type: application/x-www-form-urlencoded client_id=535fb089-9ff3-47b6-9bfb-4f1264799865 &scope=https%3A%2F%2Fgraph.microsoft.com%2F.default &client_secret=qWgdYAmab0YSkuL1qKv5bPX &grant_type=client_credentials
Your body is not valid as the scope needs to pass as HTML encoded i.e. &scope=https%3A%2F%2Fgraph.microsoft.com%2F.default or there may be space etc. in your dynamic parameter which would have caused the error.
I will suggest you to review your run history and validate if the Body is correctly generated as per the graph API document.
In case if you are still facing the issue then please share the run history HTTP action output so I can validate it at my end.
Please "Accept Answer" if the answer is helpful so that it can help others in the community.