OfficeDev / microsoft-teams-apps-greatideas

An “innovation challenge” system that lets employees submit and share ideas and insights, with voting and contests. An app using which employees can submit an innovative idea in a selected category to be visible to all colleagues and leadership, ideas can be voted upon and a leader board of best idea contributors can be shared. This app can also be a route to file patent ideas by anyone in an organization.
MIT License
84 stars 35 forks source link

403 error when trying to create new Category #17

Open BraunJonathan opened 3 years ago

BraunJonathan commented 3 years ago

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?

daverupton commented 3 years ago

@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.

mc-ccit commented 3 years ago

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?

sssayed commented 3 years ago

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

Dhruvataare commented 2 years ago

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.