ESC
Type to search...

TeamworkCustomEmoji.Create

Export JSON
Export CSV
Copy URL
Print
Delegated Read User Scope

Create custom emoji on behalf of the signed-in user.

In short

TeamworkCustomEmoji.Create is a delegated permission in the Microsoft Graph API, grouped under the TeamworkCustomEmoji category. Create custom emoji on behalf of the signed-in user. It grants read-only access to resources. Users can consent to this permission during sign-in.

Permission data: September 19, 2026 at 3:10 AM UTC
Delegated Access App-Only Access

Permission Details

Delegated Permission User consent allowed

Create custom emoji

Create custom emoji on behalf of the signed-in user.

Properties

Microsoft Graph beta exact-category-docs

Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

Property Type Description
contentBytes String The base64-encoded image content of the emoji. Supported formats include PNG and GIF.
createdBy customEmojiFromIdentitySet Identity of the user who created the emoji.
createdDateTime DateTimeOffset The date and time when the emoji was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z.
displayName String The unique display name of the custom emoji. Key. Must be unique and must not conflict with existing emoji names.

JSON Representation

Microsoft Graph beta exact-category-docs

JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.

JSON representation
{
  "@odata.type": "#microsoft.graph.teamworkCustomEmoji",
  "displayName": "String (identifier)",
  "contentBytes": "String",
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.customEmojiFromIdentitySet"
  }
}

Relationships

Relationships metadata is not available for this permission mapping.

View resource documentation

Graph Methods

Delegated access App-only access
Exact Microsoft Learn match

Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

No API methods available for this version.

Exact Microsoft Learn match

Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.

Methods
POST /teamwork/messaging/customEmojis
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs
No Microsoft Learn PowerShell mapping available

Microsoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.

No deterministic PowerShell command map is available for this permission.

Browse PowerShell docs

Code Examples

C# / .NET SDK
Create customEmoji
// Code snippets are only available for the latest version. Current version is 5.x

// Dependencies
using Microsoft.Graph.Beta.Models;

var requestBody = new TeamworkCustomEmoji
{
	DisplayName = "thumbsup_custom",
	ContentBytes = "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAABGhJREFU...",
};

// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Teamwork.Messaging.CustomEmojis.PostAsync(requestBody);
JavaScript
Create customEmoji
const options = {
	authProvider,
};

const client = Client.init(options);

const teamworkCustomEmoji = {
    displayName: 'thumbsup_custom',
    contentBytes: 'iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAABGhJREFU...'
};

await client.api('/teamwork/messaging/customEmojis')
	.version('beta')
	.post(teamworkCustomEmoji);
PowerShell
Connect-MgGraph -Scopes "TeamworkCustomEmoji.Create"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/teamwork/messaging/customEmojis"
Python
Create customEmoji
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.teamwork_custom_emoji import TeamworkCustomEmoji
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = TeamworkCustomEmoji(
	display_name = "thumbsup_custom",
	content_bytes = "iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAABGhJREFU...",
)

result = await graph_client.teamwork.messaging.custom_emojis.post(request_body)

App Registration

1

Navigate to Azure Portal

Go to App registrations in Microsoft Entra admin center

2

Add API Permission

Select your app → API permissions → Add a permission → Microsoft Graph

3

Select Permission Type

Choose Delegated permissions and search for TeamworkCustomEmoji.Create

4

Grant Admin Consent

Users can consent to this permission during sign-in.

Frequently asked questions

What is the TeamworkCustomEmoji.Create Microsoft Graph permission?

TeamworkCustomEmoji.Create is a delegated permission in the Microsoft Graph API, grouped under the TeamworkCustomEmoji category. Create custom emoji on behalf of the signed-in user. It grants read-only access to resources. Users can consent to this permission during sign-in. It is mapped to the Microsoft Graph teamworkcustomemoji resource type. 1 documented Microsoft Graph REST method requires it.

Is TeamworkCustomEmoji.Create an application or a delegated permission?

TeamworkCustomEmoji.Create is a delegated permission only. It grants access on behalf of a signed-in user and cannot be used for app-only access.

Does TeamworkCustomEmoji.Create require admin consent?

Users can consent to this permission during sign-in.

What is the permission ID (GUID) for TeamworkCustomEmoji.Create?

For TeamworkCustomEmoji.Create, the delegated (OAuth2 scope) ID is 72464cd4-58fd-4116-8a9e-b74757574757. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.