tamhinsf / ChannelSurf

Move from Slack to Microsoft Teams and manage your Teams environment
114 stars 31 forks source link

Exiting before completing #15

Closed pedmondson1 closed 5 years ago

pedmondson1 commented 5 years ago

I've run into a problem with this tool. I am able to run the program and connect to my azure tenant. However, when it gets to line 121's in program.cs it uses' Environment.Exit variable which im assuming is due to having a blank selectedTeamID.

I am wondering where i might have gone wrong to miss this variable.

I've run both commands

Both lead to the same result.

i am able to complete the below instructions

However, i do not see a way to complete the following

essgit commented 5 years ago

This is the only section you are supposed to edit:

Update appsettings.json in the ChannelSurfCli folder. Within the section called "AzureAd", update the fields with your tenant name (TenantId), Application ID (ClientId), and Redirect URI (AadRedirectUri). You can leave the value for AadInstance as-is.

maardappel commented 5 years ago

I was having this issue as well. What solved it for me was making a change to the API permissions. I had it set for User.Read instead of User.Read.All. After changing over, it was able to run further.