Forum Discussion

dodefb's avatar
dodefb
Frequent Visitor
2 years ago
Solved

Rest API odata.count = 0

Hi Team, i have a problem wtih the access token.  I try get groups and access_token on learn.microsoft.com it's successfully and received 15 items but when i try get token with C#, i can get but i...
  • dodefb's avatar
    2 years ago

    Hi Anonymous ,

    i have solved my problems. We should have given permission each workspace to App Name.

    but i have another problem. ı can get groups's users but can't report's users.

    checked rest api doc it says use the "Admin - Reports GetReportUsersAsAdmin" method to get report users.

    when it try this code i getting 401 unauthorized errror. 

    Which permission i should add to my app?