Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] mgt-person not working for unlicenced users (users without email) #3149

Open
Rafaelki opened this issue Mar 29, 2024 · 2 comments
Open
Labels
bug Something isn't working Needs: Triage 🔍

Comments

@Rafaelki
Copy link

Describe the bug
For users without email, the mgt-person component doesn't render.
Would it be possible to replace the query so that it asks by login account instead of email?

To Reproduce
Steps to reproduce the behavior:

  1. Create a user without any license
  2. Use the mgt-person component indicating a user without outlook licence

Expected behavior
I expect to see the avatar of the user

Environment (please complete the following information):

  • Browser: chrome
  • Framework: react
  • Context: SharePoint
  • Version: 5
@Rafaelki Rafaelki added bug Something isn't working Needs: Triage 🔍 labels Mar 29, 2024
@musale
Copy link
Contributor

musale commented May 14, 2024

You can set the value you want to use using person-query property.

<mgt-person person-query="me" view="threelines"></mgt-person>
<mgt-person person-query="[email protected]" view="threelines"></mgt-person>
<mgt-person person-query="Megan Bowen" view="threelines"></mgt-person>

What value are you seeking to use when you say login account?

@musale
Copy link
Contributor

musale commented May 27, 2024

Ping @Rafaelki, did this issue get resolved for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Needs: Triage 🔍
Projects
Status: Needs Triage 🔍
Development

No branches or pull requests

2 participants