Integrate the ServiceNow instance and Microsoft OneDrive for Document Services by creating a custom
OAuth application in Document Services to authenticate ServiceNow requests.
Before you begin
Microsoft OneDrive requirements:
Role required: admin
About this task
Complete these steps from your Azure Developer account. See the Azure product documentation for instructions on creating and configuring
custom applications.
Procedure
-
Log in to the Microsoft Azure registration portal with your
organization credentials.
-
Register a new custom application.
-
Provide the application name and the supported account type.
-
Select Register.
-
Enter the redirect URL in the following format:
https://<instance>.service-now.com/oauth_redirect.do.
An overview of the application's basic information is
Displayed.
-
Copy the application ID to a text file.
You will use this ID and the client secret generated in the next step to
register the app as a third-party OAuth provider on your ServiceNow instance. The application ID is the client ID
when you connect the application to your ServiceNow
instance.
-
Add a client secret.
-
In Microsoft Azure, navigate to .
-
Provide a description and an expiration date.
-
Select Add.
-
Enable the permissions you want the application to support.
-
In Microsoft Azure, navigate to .
-
Click the Microsoft Graph tile.
-
Select the delegated or application permissions that the application
supports.
Delegated permissions enable the application to access the API as a
signed-in user.
Application permissions enable the application to run as a background
service or daemon without a signed-in user.
You must mention these API permissions in the OAuth Entity scopes tab while configuring the application registry.
-
Ensure that required API permissions are provided for your custom
app.
-
Select Add permissions.