Forum Discussion

Americo Perez's avatar
Americo Perez
Iron Contributor
Mar 13, 2019

Is this normal when testing MS Graph?

Hi,

 

I am testing MS Graph and I decided create a web part that reads the name of the members in a team site and show them in the screen. 

Since this is my first web part of this kind, the process has envovled a lot of testing and I noted one thing that I don't know if it is normal or I am doing something wrong. 

 

In my package-solution file I am asking for this permissions: 

 

User.BasicRead.All

User.Read.All

Directory.AccessAssUser.All

Directory.Read.All

 

During the first test I granted these  permissons in the API-management page. But every time I install a new version of the web part (a new test) this permissions list get growing. Yesterday I tested the app several times and when I took a look to the API-management page it showed almost 100 permissions waiting for approval. In the granted permission the permission that I approved the first time were there. 

 

 

Is no more logic that if I granted permissions to an app the API-manager don't ask again for permissions? 

 

Best regards

Americo

Resources