I am working on angular project where user logged in should generate csr file in azure.
here i am using create-certificate api
for this i need tenant id generated using rest api manually. but i need it using msal.js who logged in the app i need to generate token and create csr based on their details but issue is logged in user tenant id ,token is not same as generated through the token api . please help me how to generate token or csr for user logged into azure.