{
  "info": {
    "_postman_id": "c1726c74-16a6-4f4f-892b-a19ec688e851",
    "name": "Microsoft Graph Admin Admin.admin Applications Add Key API",
    "description": "Microsoft Graph API for managing administrative resources in Microsoft Entra ID.\nThis API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,\nsite lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,\nSharePoint settings, Copilot administration, directory administrative units, and admin consent policies.\n\nContact Support:\n Name: Microsoft Graph API Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-08-02T17:54:28.000Z",
    "updatedAt": "2026-08-02T17:54:28.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c1726c74-16a6-4f4f-892b-a19ec688e851"
  },
  "item": [
    {
      "name": "applications",
      "item": [
        {
          "name": "{application-id}",
          "item": [
            {
              "name": "addKey",
              "item": [
                {
                  "name": "Microsoft Graph Create Add Key",
                  "id": "eb8b9839-c24a-4abd-a67d-7e52211afe0d",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"keyCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"034795316068-02-26T21:14:18-97:60\",\n    \"key\": \"<string>\",\n    \"keyId\": \"a5Bdb6Bf-d53e-496b-2c00-843C8FE77BF1\",\n    \"startDateTime\": \"0408875720457-01-02T00:56:07.117403139-21:24\",\n    \"type\": \"<string>\",\n    \"usage\": \"<string>\"\n  },\n  \"passwordCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"6457972411726-11-28T16:59:32Z\",\n    \"hint\": \"<string>\",\n    \"keyId\": \"d0827bf2-C8d0-dE3f-DC21-Dc0180DEBcd0\",\n    \"secretText\": \"<string>\",\n    \"startDateTime\": \"346922907919-08-30T22:57:03.5963376Z\"\n  },\n  \"proof\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/applications/:application-id/addKey",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "applications",
                        ":application-id",
                        "addKey"
                      ],
                      "variable": [
                        {
                          "id": "4fcd0c3d-054b-4e40-8fc3-ae066e1621d4",
                          "key": "application-id",
                          "value": "<string>",
                          "description": "(Required) The unique identifier of application"
                        }
                      ]
                    },
                    "description": "Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed.  Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead."
                  },
                  "response": [
                    {
                      "id": "7fbf4c69-efea-4fe7-b6bf-00ff9bc65396",
                      "name": "Success",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"keyCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"034795316068-02-26T21:14:18-97:60\",\n    \"key\": \"<string>\",\n    \"keyId\": \"a5Bdb6Bf-d53e-496b-2c00-843C8FE77BF1\",\n    \"startDateTime\": \"0408875720457-01-02T00:56:07.117403139-21:24\",\n    \"type\": \"<string>\",\n    \"usage\": \"<string>\"\n  },\n  \"passwordCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"6457972411726-11-28T16:59:32Z\",\n    \"hint\": \"<string>\",\n    \"keyId\": \"d0827bf2-C8d0-dE3f-DC21-Dc0180DEBcd0\",\n    \"secretText\": \"<string>\",\n    \"startDateTime\": \"346922907919-08-30T22:57:03.5963376Z\"\n  },\n  \"proof\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/applications/:application-id/addKey",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "applications",
                            ":application-id",
                            "addKey"
                          ],
                          "variable": [
                            {
                              "key": "application-id"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"@odata.type\": \"<string>\",\n  \"customKeyIdentifier\": \"<string>\",\n  \"displayName\": \"<string>\",\n  \"endDateTime\": \"69151831-09-28T20:23:44Z\",\n  \"key\": \"<string>\",\n  \"keyId\": \"2eBf32fA-7Ff1-cCAf-cFD1-db52A9cB8Fac\",\n  \"startDateTime\": \"71047424167-12-31T16:50:26.60561008-57:04\",\n  \"type\": \"<string>\",\n  \"usage\": \"<string>\"\n}",
                      "createdAt": "2026-08-02T17:54:28.000Z",
                      "updatedAt": "2026-08-02T17:54:28.000Z",
                      "uid": "35240-7fbf4c69-efea-4fe7-b6bf-00ff9bc65396"
                    },
                    {
                      "id": "73e5296d-969d-423a-9b4a-d08e3925c387",
                      "name": "error",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"keyCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"034795316068-02-26T21:14:18-97:60\",\n    \"key\": \"<string>\",\n    \"keyId\": \"a5Bdb6Bf-d53e-496b-2c00-843C8FE77BF1\",\n    \"startDateTime\": \"0408875720457-01-02T00:56:07.117403139-21:24\",\n    \"type\": \"<string>\",\n    \"usage\": \"<string>\"\n  },\n  \"passwordCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"6457972411726-11-28T16:59:32Z\",\n    \"hint\": \"<string>\",\n    \"keyId\": \"d0827bf2-C8d0-dE3f-DC21-Dc0180DEBcd0\",\n    \"secretText\": \"<string>\",\n    \"startDateTime\": \"346922907919-08-30T22:57:03.5963376Z\"\n  },\n  \"proof\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/applications/:application-id/addKey",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "applications",
                            ":application-id",
                            "addKey"
                          ],
                          "variable": [
                            {
                              "key": "application-id"
                            }
                          ]
                        }
                      },
                      "status": "Bad Request",
                      "code": 400,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      },\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      }\n    ],\n    \"innerError\": {\n      \"request-id\": \"<string>\",\n      \"date\": \"<dateTime>\",\n      \"client-request-id\": \"<string>\"\n    }\n  }\n}",
                      "createdAt": "2026-08-02T17:54:28.000Z",
                      "updatedAt": "2026-08-02T17:54:28.000Z",
                      "uid": "35240-73e5296d-969d-423a-9b4a-d08e3925c387"
                    },
                    {
                      "id": "ce6f3a0f-4886-4b2a-939d-d2145024013d",
                      "name": "error",
                      "originalRequest": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"keyCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"034795316068-02-26T21:14:18-97:60\",\n    \"key\": \"<string>\",\n    \"keyId\": \"a5Bdb6Bf-d53e-496b-2c00-843C8FE77BF1\",\n    \"startDateTime\": \"0408875720457-01-02T00:56:07.117403139-21:24\",\n    \"type\": \"<string>\",\n    \"usage\": \"<string>\"\n  },\n  \"passwordCredential\": {\n    \"@odata.type\": \"<string>\",\n    \"customKeyIdentifier\": \"<string>\",\n    \"displayName\": \"<string>\",\n    \"endDateTime\": \"6457972411726-11-28T16:59:32Z\",\n    \"hint\": \"<string>\",\n    \"keyId\": \"d0827bf2-C8d0-dE3f-DC21-Dc0180DEBcd0\",\n    \"secretText\": \"<string>\",\n    \"startDateTime\": \"346922907919-08-30T22:57:03.5963376Z\"\n  },\n  \"proof\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/applications/:application-id/addKey",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "applications",
                            ":application-id",
                            "addKey"
                          ],
                          "variable": [
                            {
                              "key": "application-id"
                            }
                          ]
                        }
                      },
                      "status": "Internal Server Error",
                      "code": 500,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      },\n      {\n        \"code\": \"<string>\",\n        \"message\": \"<string>\",\n        \"target\": \"<string>\"\n      }\n    ],\n    \"innerError\": {\n      \"request-id\": \"<string>\",\n      \"date\": \"<dateTime>\",\n      \"client-request-id\": \"<string>\"\n    }\n  }\n}",
                      "createdAt": "2026-08-02T17:54:28.000Z",
                      "updatedAt": "2026-08-02T17:54:28.000Z",
                      "uid": "35240-ce6f3a0f-4886-4b2a-939d-d2145024013d"
                    }
                  ],
                  "createdAt": "2026-08-02T17:54:28.000Z",
                  "updatedAt": "2026-08-02T17:54:28.000Z",
                  "uid": "35240-eb8b9839-c24a-4abd-a67d-7e52211afe0d"
                }
              ],
              "id": "a2eac998-07ce-438b-bbdf-583b031d9ec9",
              "createdAt": "2026-08-02T17:54:28.000Z",
              "updatedAt": "2026-08-02T17:54:28.000Z",
              "uid": "35240-a2eac998-07ce-438b-bbdf-583b031d9ec9"
            }
          ],
          "id": "b8bd6a8d-2ca0-4e58-abba-8ef0c5547faf",
          "createdAt": "2026-08-02T17:54:28.000Z",
          "updatedAt": "2026-08-02T17:54:28.000Z",
          "uid": "35240-b8bd6a8d-2ca0-4e58-abba-8ef0c5547faf"
        }
      ],
      "id": "5e754357-4e34-415f-b39b-510cc9b449a7",
      "createdAt": "2026-08-02T17:54:28.000Z",
      "updatedAt": "2026-08-02T17:54:28.000Z",
      "uid": "35240-5e754357-4e34-415f-b39b-510cc9b449a7"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://graph.microsoft.com/v1.0"
    }
  ]
}