OfficeDev/microsoft-teams-apps-greatideas

403 error when trying to create new Category

BraunJonathan opened this issue · 4 comments

Hi
I'd like to test your app but no matter what i do i'm not able to create new categories...
If im right, only members of the group identified as curator is able to add new categories.
I added he curator app as a new tab of this group in teams but it still does not work.. .
Adding a new category always ends with a 403 error

Is there a specific configuration to add or something?

@BraunJonathan - Check the App Service -> Configuration and make sure that the MicrosoftAppPassword is populated with the password and not something else. I had to correct that setting to make it work.

I am also receiving the 403, it seems to be around the
Error occurred while fetching team member for team: ...

Or possibly the [Authorize(PolicyNames.MustBeCuratorTeamMemberUserPolicy)]

How is the app assigning these permissions to users to authorize them?

i am facing same issue...was anyone able to resolve 403 error while creating a new category

Go to App Service, which is created after deployment. Then Settings-> Configuration: Then you will find App:CuratorTeamLink. Update this team link with the team where you have added Curator App. Then Refresh and Try Adding Category from that team only.