Missing Channel Email address Microsoft Teams API - microsoft-graph-api

We are using GetChannel API to get the web url and email address of the channel however this api does not return email address until a user click on GetEmailAddress on Teams channel action menu. This issue was discussed a year back on this github thread but not sure if there is any progress or workaround.
We have automated process of creating group, so its not feasible to ask user to click on the GetEmailAddress for every Team. Is there any graph/sharepoint api which we can call to generate channel email?

Related

How to start a chat conversation between the logon user and another user in the same AAD

I am working on SPFx web part where a user will see the presence of other users and I want to let them click on the picture and start a TEAMS conversation with that other user.
I was expecting MS graph to have that option but all I can see is chat to a channel and or team.
My need is to be able to chat between users of any teams within the same 365 organization (AAD)
Any one knows a JavaScript way to do it?
Thanks in advance
This is something we are working on. Currently there are no Graph API available to send message to a user in personal scope. We don't have ETA to share with you. You can have a Bot which can help to send messages in personal scope, Group chat or channel conversation.
I know it's very long after the original post, but in case this is still a requirement - it sounds from your question like a simple deep link would work fine, as you can "deep link" to a chat with another user - see here for more. If the users have not chatted before, the deep link will actually start the chat for the first time, when the first message is sent.

Create slack channel using slack app

I have a private slack application (developed by user 'X' from team 'XT')
I have a web server knows how to complete the Oauth process and generate tokens per teams
Now- as a user Y from team YT I am installing the slack app on my YT team and get a token,
using that token I perform API call for channels.create ,
I got into my team (aka YT) and indeed I see that the channel was created ,
BUT
it's written that the channel was created by the specific user that installed the slack app, meaning user Y.
I would expect to see that channel was created by the application not by specific user.
Is there any way to do that ?
thought about using bot token (got from the app instllation) but channels.create cannot be performed by a bot
I am afraid there is no solution for your problem. Every "write" action on Slack has to be attached to either a bot or a user. And since channels.create can not be used by a bot, it has to be a user.
The master access token of your Slack app is linked to the user that installed it, which is why that user will appear as creator of the channel when you use it.
I use a generic admin user ("slackadmin") for that purpose on my own Slack, but that will of course not work as general solution for each Slack team that want to install your app from the Slack App Directory.

Is approval-based sign-ups possible with Slack?

Normally, I invite new members via. email, that I get from them individually.
Let's say I want to campaign publicly for volunteers to join our community, then what is the best approaches with various level of control?
It is not possible out-of-the-box, but you can develop a custom website, where people can apply for your Slack and enter the name and email address.
You can then forward their request for you to approve (e.g. a page with a table of all open requests where each can be approved or denied or an automatically generated email to you etc).
Finally you can auto-invite every approved user with his email address. The Slack API has an undocumented API function that allows that. Check here for my post about that method.
I have done a similar website for inviting people from a gaming community (Eve Online), where they have to first authenticate themselves with their game login before getting an invite to our Slack. It works pretty well. I made this website with PHP, but basically every server based script language will work.

SurveyMonkey API send response of Survey Back to Zendesk Ticket

I am trying to verify that via the SurveyMonkey API I can send the response(s) from a survey back into Zendesk data. I want to be able to attach the response(s) from a survey, back to the ticket that send the survey.
Well I do not know about Survey Monkey but I know that you can do it with Examinare Survey API. developer.examinare.com and they also have an developer account that you can use to try.
If you message them by the support email I am sure they can give a better step to step directions but what you basically do is to activate the Zendesk integration and then add the redirect url to an external PHP Script and then take the ContactID, Inforeg (Serialnumber for the survey vote) and then parse it into the custom fields.
I know that Examinare has customers using Zendesk and their solution so try that out.

YouTube API: "no linked youtube account" with a YouTube Business Account

I've got a client who is a business. They are using Google Apps for Business (the paid version), and have created a Google Apps email account. Using this email account, we logged into YouTube and went to create a channel. Because they are a business, we created a BUSINESS YouTube Channel with the associated BUSINESS Google+ Page.
They also have a vendor who is using the YouTube API to upload their videos for them. However when the vendor tries to use the API, they get the error "no linked youtube account". We're thinking that this is because as a Google+ Business Page, the page is not associated with a single Google Account, but rather multiple Google Accounts can be set as "managers" of the page.
When we tried to create a "personal" YouTube Channel/Google+ Page associated with this email address, we tried to put the company name in as the First Name / Last Name and it rejected it because it says that it's a company name and not a real person's name. It also asks for gender and birthdate, and all of those things associated with a person and not a business.
My questions is.... is there a way around this issue? Can you use the YouTube API to upload with a Google+ Business Page and a YouTube Business Channel?
Thanks,
Justin
You should be able to create a Google+ Page and a corresponding YouTube account. Here's a blog post explaining the steps.
To clarify this example, I have a Google+ page (somewhat inactive) for Cloud Hulk, a joke name my old teammates gave me. When I go to the top right corner of YouTube.com, I can select "switch account"
Now when I click on it, the very first time I do it, it asks me to create a channel. If I do not do this step, the YouTube API will return a "no linked YouTube account" error. I confirm the change:
Now that I'm logged in, I should see this in the top corner of YouTube.com:
When I'm doing the OAuth 2.0 authorization flow, I'll be presented with a list of channels to authorize as:
You can test this out by going to the API reference and clicking on "Authorize Requests Using OAuth 2.0" under "Try it Now".

Resources