nmrlqa4
nmrlqa4

Reputation: 679

What ID should I put in the WebApplicationInfo of an Office Add-in's manifest file?

I read this article, it states:

Id: The Application Id of the add-in's associated service as registered in the Azure Active Directory v 2.0 endpoint.

I still don't understand where to get this ID from? Do I need to register an app at https://apps.dev.microsoft.com and add this ID or is it something else?

I am trying to retrieve Office bootstrap token, but it's not working probably due to this ID parameter. Otherwise, my manifest is approved

Office.context.auth.getAccessTokenAsync(function (result) {

getAccessTokenAsync fails with error 13004

Upvotes: 0

Views: 762

Answers (1)

Md Farid Uddin Kiron
Md Farid Uddin Kiron

Reputation: 22495

Yes for application Id you have to register your application on azure v2.0 application portal. Which will create a unique application Id

As you are using Azure Active Directory v 2.0 endpoint portal. To register your application on https://apps.dev.microsoft.com you do have to login there and have to register new app.

Once your application registration succeeded you will get your application id below.

For application registration see the step below:

Step 1

Enter a meaningful application name and click create application.

enter image description here

Step 2

Once you created your application successfully You will see your application Id right

below the application name. see the screen shot below.

enter image description here

You can also get following information:

Password

Application secret key

Preferred application platform

Application permission

Hope this will help you.

Upvotes: 1

Related Questions