{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":39108,"path":"platform-administration/oauth-api-script.md","title":"Create an OAuth API script","bundle":null,"doc_type":null,"release":"australia","body":"\n# Create an OAuth API script\n\nCreate and duplicate an OAuth API script for application registry.\n\n## Before you begin\n\nGenerate a SHA -1 thumbprint. For more information see [Generate a SHA-1 thumbprint](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/generate-thumbprint.md).\n\nEnsure you have the Email - Support for Email Processing by Microsoft Graph API plugin \\(com.glide.email.graph\\) installed.\n\nRole required: admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Definition** &gt; **Script Includes**.\n\n2.  Select and open **GraphCertificateOAuthTemplate**.\n\n3.  Duplicate the script by changing the name in the **Name** field,select **Insert and Stay** from the record menu.\n\n    **Note:** The name should begin with **OAuth**.\n\n    The script is copied and created with a different name.\n\n4.  In the script, enter the JWT provider sys\\_id and SHA -1 thumbprint.\n\n5.  Select **Update**.\n\n\n## What to do next\n\n[Register an application as an OAuth provider](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/microsoft-graph.md).\n\n**Parent Topic:**[Configure an OAuth profile to use certificates for authentication with Microsoft Azure](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/configure-oauth-profile-using-certificates.md)\n\n"}}