A cloud-based identity and access management service for securing user authentication and resource access
anonymous user, Thank you for reaching out. The first thing to note here is, the both roles and scopes are not available together in a token, the reason being, roles get listed when you use the client_credential flow of OAuth along with adding Application Permissions on the App Registration. Similarly, scopes get listed in the access token, when you use OAuth flows like Authorization_Code Grant Flow or Implicit Flow etc along with adding the Delegated Permissions on the App Registration.
In this case, since you are using Client_credential flow of OAuth, I would recommend you to check and confirm if you are using Application Permissions along with Admin Grant on them. As if the application permissions are mission, you would miss them in the token too under the scp key (scope).
Hope this helps.
Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as Answer; if the above response helped in answering your query.