Hello @Priya Shanmugam , the refered sample requests and obtains both an id_token and an authorization code. The latter will be exchanged by an access token in a separate call in the StartupAuth.cs.OnAuthorizationCodeReceived
method.
Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.