wiki:connect_azure_rest_api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
wiki:connect_azure_rest_api [2022/09/02 13:30] – [See also] add link antisa | wiki:connect_azure_rest_api [2023/09/05 09: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:// | You can also get the token via curl see [[https:// | ||
+ | |||
+ | ====== Renew/ | ||
+ | |||
+ | - In the Azure portal, in App registrations, | ||
+ | - 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' | ||
wiki/connect_azure_rest_api.1662125424.txt.gz · Last modified: 2022/09/02 13:30 by antisa