TeamworkCustomEmoji.Create.All
Create custom emoji without a signed-in user.
In short
TeamworkCustomEmoji.Create.All is an application-only permission in the Microsoft Graph API, grouped under the TeamworkCustomEmoji category. Create custom emoji without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Create custom emoji
Create custom emoji without a signed-in user.
85643b08-0e25-4d99-9d68-04ba0fef9740
Properties
Properties is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Property | Type | Description |
|---|---|---|
contentBytes |
BinaryNullable |
The base64-encoded image content of the emoji. Supported formats include PNG and GIF. Inherited from teamworkHostedContent. |
contentType |
StringNullable |
The media type of the custom emoji content, such as image/png or image/gif. Inherited from teamworkHostedContent. |
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. This property is an alternate key and must not conflict with existing emoji names. |
id |
String |
The service-generated identifier of the custom emoji. Inherited from teamworkHostedContent. |
JSON Representation
JSON representation is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
{
"@odata.type": "#microsoft.graph.teamworkCustomEmoji",
"id": "String (identifier)",
"contentBytes": "Binary",
"contentType": "String",
"displayName": "String",
"createdDateTime": "String (timestamp)",
"createdBy": {
"@odata.type": "microsoft.graph.customEmojiFromIdentitySet"
}
}
Relationships
Relationships is shown from beta metadata because a stable v1.0 schema is not available for this resource mapping.
| Relationship | Type | Description |
|---|---|---|
createdBy |
customEmojiFromIdentitySet |
Related createdBy data exposed by this resource. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
POST
/teamwork/messaging/customEmojis
|
DELETE
/teamwork/messaging/customEmojis/{displayName}
|
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 docsMicrosoft 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 docsCode Examples
using Azure.Identity;
using Microsoft.Graph;
var scopes = new[] { "TeamworkCustomEmoji.Create.All" };
var credential = new InteractiveBrowserCredential(
new InteractiveBrowserCredentialOptions
{
ClientId = "YOUR_CLIENT_ID",
TenantId = "YOUR_TENANT_ID",
RedirectUri = new Uri("http://localhost")
});
var graphClient = new GraphServiceClient(credential, scopes);
var response = await graphClient
.WithUrl("https://graph.microsoft.com/v1.0/teamwork/messaging/customEmojis")
.GetAsync();
import { Client } from "@microsoft/microsoft-graph-client";
import { InteractiveBrowserCredential } from "@azure/identity";
const credential = new InteractiveBrowserCredential({
clientId: "YOUR_CLIENT_ID",
tenantId: "YOUR_TENANT_ID",
redirectUri: "http://localhost"
});
const token = await credential.getToken(["TeamworkCustomEmoji.Create.All"]);
const client = Client.init({
authProvider: (done) => done(null, token.token)
});
const response = await client.api("/teamwork/messaging/customEmojis").get();
Connect-MgGraph -Scopes "TeamworkCustomEmoji.Create.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/teamwork/messaging/customEmojis"
from azure.identity import InteractiveBrowserCredential
import requests
credential = InteractiveBrowserCredential(
client_id="YOUR_CLIENT_ID",
tenant_id="YOUR_TENANT_ID"
)
token = credential.get_token("TeamworkCustomEmoji.Create.All")
response = requests.get(
"https://graph.microsoft.com/v1.0/teamwork/messaging/customEmojis",
headers={"Authorization": f"Bearer {token.token}"}
)
print(response.json())
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions and search for TeamworkCustomEmoji.Create.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the TeamworkCustomEmoji.Create.All Microsoft Graph permission?
TeamworkCustomEmoji.Create.All is an application-only permission in the Microsoft Graph API, grouped under the TeamworkCustomEmoji category. Create custom emoji without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph teamworkcustomemoji resource type. 2 documented Microsoft Graph REST methods require it.
Is TeamworkCustomEmoji.Create.All an application or a delegated permission?
TeamworkCustomEmoji.Create.All is an application permission only. It grants app-only access without a signed-in user and always requires admin consent.
Does TeamworkCustomEmoji.Create.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for TeamworkCustomEmoji.Create.All?
For TeamworkCustomEmoji.Create.All, the application (app role) ID is 85643b08-0e25-4d99-9d68-04ba0fef9740. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.