Hi Diksha Yadav,
Thank you for reaching out to Microsoft!
The stable and unique identifier for a mailbox in Microsoft 365 is the "id" property, which is a GUID (globally unique identifier). This identifier remains constant for the lifetime of the mailbox.
To obtain immutable identifiers for Outlook resources, you can retrieve the ID using the following request: Obtain immutable identifiers for Outlook resources
GET https://graph.microsoft.com/v1.0/Users/{userprincipalname}
The JSON response will include the "id" value.
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.