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

V K picture V K · Sep 16, 2015 · Viewed 35.2k times · Source

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.

Answer

Kurkula picture Kurkula · Feb 24, 2017

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