Teams tag is mainly focused on the general issue of Microsoft Teams troubleshooting. Based on your description, this problem is related to Teams Graph API development. The following is for informational purposes only:
You can add any of the 15 Azure AD custom extension attributes to users' profile cards by configuring your organization settings and adding the corresponding value as a profileCardProperty in Microsoft Graph. You can add one profileCardProperty resource at a time. It takes up to 24 hours for the changes to show on profile cards.
For more examples and details, please refer to: https://learn.microsoft.com/en-us/graph/add-properties-profilecard
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.