EWS API - Get Teams Attendees Report for list of users? - powershell

So I am trying to pull Teams Attendees Reports for a list of users in the organization. Basically GotoMeeting had this feature and Microsoft has yet to give these details easily in Reporting. This script (https://dev.to/gscales/accessing-microsoft-teams-summary-records-cdr-s-for-calls-and-meetings-using-exchange-web-services-3581) works perfectly, however the problem is I can only pull the attendee reports for my own mailbox. I would like to be able to store a list of UPNs or Email Addresses in a text file; then pull the attendee report the same way, but for that list of users.
I know the script uses User Impersonation, but how do I do store a list of users so it runs the criteria on multiple users.
Anyone have any ideas?

Related

How to migrate contacts to Teams?

I wanted to migrate my SkypeForBusiness contacts to MS Teams. I have already exported my contacts to txt file and here is the problem that i cannot find any option to import it to Teams as contacts. Using its API in PowerShell i can create team and add my contacts as users but it is not what i wanted to do. However this API does not provide functionality to add my email list which i have in txt file to my Teams contacts. Is there any possibility to import my contacts with groups to Microsoft Teams ?
Would appreciate every answer.
Thanks
If your admin migrates you from SfB, your contacts are migrated to Teams automatically. Perhaps your admin can do this for you.
Since this is how most users start using Teams for telephony, there hasn't been a huge demand for a standalone contacts import/export feature.
There is a feature request on UserVoice you can vote for if you like: https://microsoftteams.uservoice.com/forums/555103-public/suggestions/33116188-import-groups-contacts-from-skype-for-business

Retrieving Azure AD Invitation Redemption URL after-the-fact

We have a Powershell script that creates some guest users using the New-AzureADMSInvitation cmdlet, and its return value has a handy-dandy InviteRedeemUrl property that we include in a nice welcome email to the user to get them started with setting their account up and using our application. This works fine when inviting individual or small numbers of users.
However, we'll need to do this for many users, and carefully control when the emails go out, and I can't see any other way of retrieving this URL after-the-fact... the only option seems to be the "Resend invitation" button on the guest user in AD, which sends a Microsoft-branded email from "Microsoft Invitations" with the redeem URL, which is kind of a problem... For marketing reasons we need to put the invite redeem URL in our own welcome email, so we don't want Microsoft sending out those emails.
Is there any way to retrieve or calculate that invitation URL after the guest user had already been invited? I know I could delete and recreate the invitation itself, but that's still a manual process and I'd like to be able to create guest users in bulk first, and then retrieve those URLs in bulk once we're ready to send out emails. Especially since Azure AD itself seems to be able to fetch the redeem URLs later on via the "Resend invitation" button.
Alternatively , you can think of adding you company branding in the verification and invitation mails in azure AD.
Here is something similar you can find:-
https://learn.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-faqs#how-do-i-customize-verification-emails-the-content-and-the-from-field-sent-by-azure-ad-b2c
Basically you need to change the company branding in Azure active directory to have your custom logo and text.
Hope it helps.
We ended up modifying the AD invitation script to store the InviteRedeemUrl value in our CRM as a field on the customer record. Then later on when our Marketing team wants to start their email campaigns, they could include a reference to this field in the email template just like they would any other field. This way, we got all our analytics on click/open rates and retained complete control over the emails, including where each batch was being sent from (so customers could reply to the correct support staff member for their segment).

Transition from yahoo groups to google groups

A yahoo group I'm in is preparing for the possibility of yahoo's demise.
They are investigating the transition to google groups.
We do not want to give up either backlog or attribution of the 13,000 some posts.
Is there a way to transfer information, including users of individual posts from yahoo groups to google groups.
Alternately, is it possible from Yahoo groups to something like phpBB.
I am posting this in both Stack Exchange and in Google products forum.
While the question is an old one, others may be interested to know that using the Google Groups Migration API it is possible to upload the users and the data from Yahoo Groups.
Sequence:
Download your Yahoo Group data using Personal Groupware http://www.personalgroupware.com
Export the the data into your chosen database (e.g. MySql)
Upload the data using the Google Groups Migration API
https://developers.google.com/admin-sdk/groups-migration/v1/get-start/getting-started
You will not be able to transfer your group to Google.
The upload of group data follows this pattern:
Upload Users
Upload Subjects
Upload Replies
You will be stuck at 1) as you are unable to create the list of users on Google. You do not have write access to the Google user database.
For phpbb this will definitely be possible as you have full control of the database.

How do I query the Exchange Online REST API for a list of users, mailboxes and/or calendars?

Background
I'm able to query outlook.office365.com/api/v1.0/me/ for the current user that is logged in. But I'm unable to find a query that would give me a list of users. Below are the following queries I've tried without any luck.
outlook.office365.com/api/v1.0/users/
outlook.office365.com/api/v1.0/me/users/
This is the error I receive when I'm doing either of the queries.
https://www.dropbox.com/s/64o0mwj1w3uigk8/Screenshot%202015-07-09%2013.07.22.png?dl=0
Goal
I would like help finding the correct REST API queries for a list of users, mailboxes, and calendars.
Extra Findings
Note that while I was referring to https://msdn.microsoft.com/en-us/office/office365/api/complex-types-for-mail-contacts-calendar#RESTAPIResourcesUser I received the error listed above for the query'../me/users/$count' when trying to count the number of users.
We don't allow enumerating the list of users in a tenant using the outlook endpoint. you can however do this using the AAD graph api. For example:
https://graph.windows.net/contoso.com/users?api-version=2013-04-05
For calendars, you can see all calendars of a given user by enumerating those from ../me/calendars
Thanks for mentioning the $count issue, it was a bug which has been fixed. You should see it rolled out soon worldwide. But note that this will still not allow you to get a count of users as that collection is not enumerable. The $count will help with queries like ../me/messages/$count

Sending scheduled emails that include Bugzilla "reports"

hi i am new to Bugzilla.
I intend to send scheduled emails that include report created by me.
I do realize there is something to include search results in the email, using the 'Whining' feature provided in the admin section, and I am currently using that.
But is there a way to send Reports that are in the tabular or graph style? These emails are intended to be sent to the Business team and they dont care about the Title or Description of the bug, all they care is about how many products have how many bugs and what priority.
i am able to generate the report as per their liking, but unable to figure out how to inlcude that data in a scheduled email
It is not currently possible to send reports via email, although is it a long standing request. See https://bugzilla.mozilla.org/show_bug.cgi?id=35281