mattmcnabb / O365ServiceCommunications

A Powershell module for monitoringOffice 365 Service Health!
25 stars 6 forks source link

Fix for Get-SCTenantEvent and Get-SCTenantServiceInfo #6

Closed PowershellNinja closed 7 years ago

PowershellNinja commented 7 years ago

Fixing #5 , allowing the use of Get-SCTenantEvent and Get-SCTenantServiceInfo with an Input String Array of Partner Tenant Domains.

Microsoft API Documentation at https://msdn.microsoft.com/en-us/library/office/dn776043.aspx seems wrong for GetServiceInformationForTenantDomains as they document the JSON Body to be

""lastCookie":"","companydomains":[],"locale":"" 

while in fact it should be

""lastCookie":"","tenantDomains":[],"locale":"" 
mattmcnabb commented 7 years ago

@PowershellNinja can you re-pull from master? I updated the SCTenantEvent test to account for your changes.

mattmcnabb commented 7 years ago

@PowerShellNinja this is deployed to the Powershell Gallery now