-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
Description
Please provide the following (and please check them off the list with [x]) before submitting this issue:
- Expected behavior. Please provide links to the specific Microsoft Graph documentation
- Actual behavior.
- Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario.
Expected behavior
Enabling teams on an existing group to work properly with the following code.
await client.Groups[input.GroupId].Team.Request().CreateAsync(new Team
{
MemberSettings = new TeamMemberSettings
{
AllowCreateUpdateChannels = true,
},
MessagingSettings = new TeamMessagingSettings
{
AllowUserEditMessages = true,
AllowUserDeleteMessages = true,
},
FunSettings = new TeamFunSettings
{
AllowGiphy = true,
GiphyContentRating = GiphyRatingType.Strict
}
});Does not work
await client.Groups[input.GroupId].Team.Request().PutAsync(new Team
{
MemberSettings = new TeamMemberSettings
{
AllowCreateUpdateChannels = true,
},
MessagingSettings = new TeamMessagingSettings
{
AllowUserEditMessages = true,
AllowUserDeleteMessages = true,
},
FunSettings = new TeamFunSettings
{
AllowGiphy = true,
GiphyContentRating = GiphyRatingType.Strict
}
});Works
Actual behavior
Executed 'EnableTeamActivity' (Failed, Id=4da0dba4-5b60-4895-901c-9c79a51b6283)
[2019-01-16 10:36:05 PM] System.Private.CoreLib: Exception while executing function: EnableTeamActivity. Microsoft.Graph.Core: Message: No HTTP resource was found that matches the request URI 'https://api.teams.skype.com/v1.0/groups('047a17d2-f77e-4e57-bcab-caa4b7ee244b')/team'.
[2019-01-16 10:36:05 PM]
[2019-01-16 10:36:05 PM] Inner error
[2019-01-16 10:36:05 PM] .
[2019-01-16 10:36:05 PM] 936c43d026a147f6b24298dfca213660: Function 'EnableTeamActivity (Activity)' failed with an error. Reason: Microsoft.Graph.ServiceException: Message: No HTTP resource was found that matches the request URI 'https://api.teams.skype.com/v1.0/groups('047a17d2-f77e-4e57-bcab-caa4b7ee244b')/team'.
[2019-01-16 10:36:05 PM]
[2019-01-16 10:36:05 PM] Inner error
[2019-01-16 10:36:05 PM]
[2019-01-16 10:36:05 PM] at Microsoft.Graph.HttpProvider.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
[2019-01-16 10:36:05 PM] at Microsoft.Graph.BaseRequest.SendRequestAsync(Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
[2019-01-16 10:36:05 PM] at Microsoft.Graph.BaseRequest.SendAsync[T](Object serializableObject, CancellationToken cancellationToken, HttpCompletionOption completionOption)
[2019-01-16 10:36:05 PM] at Microsoft.Graph.TeamRequest.CreateAsync(Team teamToCreate, CancellationToken cancellationToken)
Steps to reproduce the behavior
- Create an Office 365 group (within outlook or SharePoint, no Teams enabled
- Implement the following code
- Exception thrown
Reactions are currently unavailable