Author Archives: mlamontagne

Unable to purchase Communication Credits add-on when sourcing Office 365 licensing from a CSP Partner

Communications Credits (the add-on formally known as PSTN Consumption), is a subscription add-on to the Microsoft Phone System and/or Audio Conferencing license, enabling the ability to: Acquire Toll-Free numbers to use with Audio Conferencing meetings, Auto Attendants, or Call Queues. *Calls are billed per minute and require a positive Communications Credits balance. Dial out from… Read More »

Get-CSUserSessionDomains: Extract a list of domains used in communication from Skype for Business Online user session data

Get-CSUserSessionDomains is a PowerShell script leveraging the Get-CSUserSession cmdlet in Skype for Business Online to extract a list of unique domains used in communication from user session data. The Get-CSUserSession cmdlet exposes session details for Registration/IM/Audio/Conference/Video, unlike the Skype for Business Online Admin Portal corresponding tools. Get-CSUserSessionDomains which can be found on the TechNet Gallery.… Read More »

Get-O365UsageReports: Use Graph to pull all Office 365 Usage Reports to Excel

In December 2017, the new Microsoft Graph reporting APIs were announced: https://techcommunity.microsoft.com/t5/Office-365-Blog/Announcing-the-General-Availability-of-Microsoft-Graph-reporting/ba-p/137838, also in this announcement was the deprecation of the Office 365 Reporting Web Service: ConnectionbyClientType ConnectionbyClientTypeDetail CsActiveUser CsAVConferenceTime CsP2PAVTime CsConference CsP2PSession GroupActivity MailboxActivity GroupActivity MailboxUsage MailboxUsageDetail StaleMailbox StaleMailboxDetail) Details on working with the Office 365 Usage reports via v1.0 API in Microsoft Graph:… Read More »

Check-AzureServicePrincipals: Using Graph via PowerShell to determine if an Azure Service Principal is a Microsoft Known ID

While writing the Manage-AzureAppRegistration script (http://realtimeuc.com/2017/12/manage-azureappregistration/), I found some interesting problems setting Oauth2Permissions. My original code would lookup the Service Principal for an API to assist with determining the ID for the specific role I was adding. The problem quickly became apparent that not all Tenants had the same list of Microsoft Service Principals and… Read More »

Unable to Escalate PSTN calls via CCE to an Audio Conference

Let’s just assume that a Skype for Business Cloud Connector Edition (CCE) has been deployed successfully, the steps to configure an online hybrid Mediation Server (Configure online hybrid Mediation Server Settings) was completed and at one time PSTN calls could be escalated to an Audio Conference. Fast forward a few months and users report PSTN… Read More »

Manage-AzureAppRegistration: Using Graph via PowerShell to create a native Azure app registration for PowerShell to access Graph

When accessing some of the Microsoft Graph API endpoints, you can get away with leveraging the well known Client ID reserved for PowerShell: “1950a258-227b-4e31-a9cf-717495945fc2”. Of course luck would have it, the few items I wanted to access (Microsoft Graph Reporting API and Office 365 Management Activity API) are not granted to the PowerShell Client ID.… Read More »

Set-CsMeetingRoom unable to set Line URI when leveraging CCE for PSTN

Over the last year a handful of clients have requested assistance around configuring the Line URI for Meeting Rooms in Skype for Business Online when using Cloud Connector Edition (CCE) and Microsoft Phone System. Running the Set-CsMeetingRoom cmdlet with the -lineuri parameter, will greet you with a nice “Unable to set “LineURI”. This parameter is… Read More »

Skype for Business anonymous join success when meeting organizer is disabled for federation

A journey for your amusement: December 2012: I submitted my first Lync Server 2013 (RTM) bug. The problem was when an organization enabled for federation with a conferencing policy allowing to invite anonymous users and a meeting organizer had an External Access Policy disabling federated user access. The result would be an external participant could… Read More »

MultiTeams – Easily run multiple instances of MS Teams web client

Last week Microsoft Teams Guest Access became generally available (https://blogs.office.com/en-us/2017/09/11/expand-your-collaboration-with-guest-access-in-microsoft-teams). This feature is not meant to replace Federation (Please Vote!), but I’m using this as a stop gap until Federation is available. After working with a few Guest Access Teams, it quickly became apparent that no matter how often I switched between accounts, I wasn’t… Read More »

Skype for Business Online: Voicemail User Settings Portal

The New Voicemail User Settings Features for Skype for Business Online Preview has finished and stopped on-boarding customers at the end of August 2017. In testing and confirmation from multiple clients not part of this preview program, the feature seems to have gone live in the public over the last few days. The Preview blog… Read More »