Microsoft Teams Teams.profile Photo API

The teams.profilePhoto API from Microsoft Teams — 2 operation(s) for teams.profilephoto.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /teams/{team-id}/photo Get a team's profile photo metadata · Get profilePhoto #
Ask an LLM
“What sizes are available for a team's profile photo?”
“Can I get the metadata of the largest photo a team has uploaded?”
Tell an agent
Get the profile photo metadata for team {team}.
Show the available sizes of the profile photo on team {team}.
PATCH /teams/{team-id}/photo Update a team's profile photo · Update profilePhoto #
Ask an LLM
“How do I upload a new profile photo for a team?”
“What is the maximum size of a team profile photo?”
Tell an agent
Update the profile photo of team {team} with a new image.
Set the team {team} profile photo to a new image.
GET /teams/{team-id}/photo/$value Download a team's profile photo · Get profilePhoto #
Ask an LLM
“How do I download the actual image of a team's profile photo?”
“Can I fetch the binary photo file for a team?”
Tell an agent
Download the profile photo image for team {team}.
Get the binary photo file of team {team}.
PUT /teams/{team-id}/photo/$value Replace a team's profile photo image · Update profilePhoto #
Ask an LLM
“Can I replace a team's profile photo with a new image file?”
“Is there a 4 MB limit when uploading a team photo?”
Tell an agent
Replace the profile photo of team {team} with a new image file.
Upload a new photo image for team {team}.
DELETE /teams/{team-id}/photo/$value Remove a team's profile photo · Delete media content for the navigation property photo in teams #
Ask an LLM
“How do I remove the profile photo from a team?”
“Can I clear a team's photo without knowing its ETag?”
Tell an agent destructive · confirm first
Delete the profile photo of team {team}.
Remove the photo from team {team} if its ETag is {etag}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-teams:microsoft-teams-teams-profilephoto-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-teams-teams-profilephoto-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OData Service for namespace microsoft.graph Teams.profile…
  description: This OData service is located at https://graph.microsoft.com/v1.0
  version: v1.0
  x-ms-generated-by:
    toolName: Microsoft.OpenApi.OData
    toolVersion: 0.0.0.0
servers:
- url: https://graph.microsoft.com/v1.0
tags:


# --- truncated at 32 KB (148 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-teams/openapi/microsoft-teams-teams-profilephoto-api-openapi.yml