Skip to content

About the Template properties on a Team #3094

@ssteiner

Description

@ssteiner

Note sure if this is a bug.. but I'm a bit confused about the Templateproperty.

If I try to manually select it, or expand, the result does not contain a template object

var team = await graphServiceClient.Teams[teamId].GetAsync(requestConfiguration =>
{
   requestConfiguration.QueryParameters.Select = [nameof(Team.Template)];
}).ConfigureAwait(false);

I realize I cannot use the property Template when creating a team (I tried... but the API response makes it clear that you need to use the template@odata.bind syntax) - imho would be good to be able to). But.. why is the property there if it's never returned? I tried with select (syntax above) and with Expand, but, the value is always empty. So what's the point of having the Template property if it cannot be used when creating a new Team, and it is never returned.
And expand just tells me I cannot expand that property. So.. is there any way to determine the template that was used to create a team?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions