User Tools

Site Tools


wiki:connect_azure_rest_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:connect_azure_rest_api [2022/09/02 15:30] – [See also] add link antisawiki:connect_azure_rest_api [2023/09/05 11:29] (current) – Add Renew/generate new token i.e. client secret antisa
Line 23: Line 23:
  
 You can also get the token via curl see [[https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow#get-a-token|this]] You can also get the token via curl see [[https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow#get-a-token|this]]
 +
 +====== Renew/generate new token i.e. client secret ======
 +
 +  -  In the Azure portal, in App registrations, select your application.
 +  - Select Certificates & secrets > Client secrets > New client secret.
 +  - Add a description for your client secret.
 +  - Select an expiration for the secret or specify a custom lifetime. Client secret lifetime is limited to two years (24 months) or less. You can't specify a custom lifetime longer than 24 months. Microsoft recommends that you set an expiration value of less than 12 months.
 +  - Select Add.
 +  - Record the secret's value for use in your client application code. This secret value is never displayed again after you leave this page.
  
  
wiki/connect_azure_rest_api.1662125424.txt.gz · Last modified: 2022/09/02 15:30 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki