-
Notifications
You must be signed in to change notification settings - Fork 25
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] #12
Comments
This is as expected. From field sends user's Id, user's AADObjectId and name. |
Then how do you populate the rest of the Teams properties in resulting TeamsChannelAccount object? |
Doing something like:
Also results in nulls |
If you want extended information about the user, one option is to get it through Microsoft Graph. You will need additional approval from user or tenant admin for it though. |
Then what is the purpose of that method? It seems to add no additional information to the default ChannelAccount object, just a bunch of properties that are always null? |
GetConversationMembersAsync should have that information filled up. |
Can you add an example of that? I'm having a hard time figuring out how to get a fully hydrated TeamsChannelAccount object |
@RamjotSingh I'm experiencing this bug as well... Any solution available yet? |
Same problem here. :/ |
Describe the bug
When using:
var requestor = teamsContext.AsTeamsChannelAccount(turnContext.Activity.From);
The resulting TeamsChannelAccount object doesn't have any of the Teams specific information added. For example
request.UserPrincipalName is always null
request.Surname is also always null
SDK Version
4.0.0-beta1
Expected behavior
Those properties should be populated
The text was updated successfully, but these errors were encountered: