Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get client secret from azure active directory for native app for using one drive business API?

I am developing an outlook plugin.I want use one drive API's in it.I easily got the client Id and client secret for using API's for one drive personal accounts.But, when I registered my application for one drive business API's in azure active directory, it created only a client Id for me, but didn't create any client secret.I chose native app while registering, as my app is a native app.I can't authenticate the user without the client secret.Please let me know , how to get the client secret?Thanks in advance.

like image 243
V K Avatar asked Sep 16 '15 11:09

V K


2 Answers

Once you move off the page after saving your information, you cannot get the client secret from the Azure website. You need to create a new secret and when you click save, immediately go and copy the secret and store it securely. This is the only time it is available from the Azure website.

like image 53
Rich Ross Avatar answered Sep 21 '22 12:09

Rich Ross


Create Application and click on keys. Add some description and expiry as required and Click Save. Key will be auto generated. Make sure you copy and save the Key else it will be hidden.

enter image description here enter image description here enter image description here enter image description here

like image 23
Kurkula Avatar answered Sep 21 '22 12:09

Kurkula