sales@dynamicsedge.com
202-410-6400

Microsoft Office 365 Service Communications API PowerShell Training is here and available now from Dynamics Edge, contact us to request more information. We also offer all kinds of Office 365 Training courses including custom courses, live virtual (online in real time with the instructor) courses, and in classroom Office 365 courses.

Office 365 Service Communications API PowerShell Training

Office 365 Service Communications API PowerShell Training

GetServiceInformationForTenantDomains

from

functions/Get-SCTenantServiceInfo.ps1

 

function Get-SCTenantServiceInfo
{
[CmdletBinding()]
param
(
[Parameter(Mandatory)]
[PSTypeName('O365ServiceCommunications.Session')]
$SCSession,

[Parameter(Mandatory)]
[System.String[]]
$Domains
)

$Body = @{
lastCookie = $SCSession.Cookie
locale     = $SCSession.Locale
companyDomains = @($Domains)
}

$Splat = @{
ContentType = 'application/json'
Method      = 'Post'
Uri         = 'https://api.admin.microsoftonline.com/shdtenantcommunications.svc/GetServiceInformationForTenantDomains'
Body        = $Body | ConvertTo-Json
}

Invoke-RestMethod @Splat | foreach {
$_ | New-CustomObject -TypeName $TenantServiceInfoTypeName
}
}

 

microsoft.exchange.servicestatus.tenantcommunication.data
Inheritance
ObjectEvent
Derived

Microsoft.Exchange.ServiceStatus.TenantCommunications.Data.PlannedMaintenance
Microsoft.Exchange.ServiceStatus.TenantCommunications.Data.Incident
Microsoft.Exchange.ServiceStatus.TenantCommunications.Data.MessageCenterMessage

Attributes
KnownTypeAttribute KnownTypeAttribute KnownTypeAttribute KnownTypeAttribute DataContractAttribute

 

202 S.E. Church Street, Suite 203 Leesburg, VA 20175
https://www.dynamicsedge.com/
sales@dynamicsedge.com
Solutions
Company
202 Church Street S.E. , Suite 203 Leesburg, VA 20175
202-410-6400
800-453-596 (Toll Free)
sales@dynamicsedge.com