Skip to main content

Get-MsIdO365Endpoints

SYNOPSIS​

Get list of URLs and IP ranges for O365

SYNTAX​

Get-MsIdO365Endpoints [[-Cloud] <String>] [-TenantName <String>] [-NoIPv6] [-ServiceAreas <String[]>]
[-ClientRequestId <Guid>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION​

http://aka.ms/ipurlws

EXAMPLES​

EXAMPLE 1​

Get-MsIdO365Endpoints

Get list of URLs and IP ranges for O365 Worldwide cloud.

EXAMPLE 2​

Get-MsIdO365Endpoints -Cloud China -ServiceAreas Exchange,SharePoint

Get list of URLs and IP ranges for Exchange and SharePoint in O365 China Cloud.

EXAMPLE 3​

Get-MsIdO365Endpoints -Cloud Worldwide -ServiceAreas Common | Where-Object id -In 54,56,59,96

Get list of URLs and IP ranges related to Azure Active Directory.

PARAMETERS​

-Cloud​

Name of O365 Cloud. Valid values are: 'Worldwide','USGovGCCHigh','USGovDoD','Germany','China'

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: Worldwide
Accept pipeline input: False
Accept wildcard characters: False

-TenantName​

Office 365 tenant name.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NoIPv6​

Exclude IPv6 addresses from the output

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ServiceAreas​

Name of Service Area.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ClientRequestId​

Client Request Id.

Type: Guid
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: (New-Guid)
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

System.String​

OUTPUTS​

System.Management.Automation.PSObject​

NOTES​