Hello Suraj Sinha,
Thank you for reaching out to Microsoft Support!
According to the documentation, the value of <Resource> is the Application ID URI of the add-in as registered in the Azure Active Directory v 2.0 endpoint.
The Application ID URI is set when we register the application, as shown below, see the documentation for details.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.