SOLVED

can't retrieve trusted IP using powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-2960593%22%20slang%3D%22en-US%22%3Ecan't%20retrieve%20trusted%20IP%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2960593%22%20slang%3D%22en-US%22%3E%3CH1%20id%3D%22toc-hId-1502568077%22%20id%3D%22toc-hId-1502595796%22%20id%3D%22toc-hId-1502595796%22%20id%3D%22toc-hId-1502595796%22%20id%3D%22toc-hId-1502595796%22%20id%3D%22toc-hId-1502595796%22%3E%3CFONT%20size%3D%224%22%20color%3D%22%23000000%22%3EI%20am%20trying%20to%20get%20Trusted%20IP%20list.%20I%20run%20the%20powershell%20command%20Get-CsTenantTrustedIPAddress%20-Tenant%20xxxxxxxx-xxxx-xxxx-xxxxxxxx%2C%20but%20it%20returns%20nothing.%3C%2FFONT%3E%3C%2FH1%3E%3CH1%20id%3D%22toc-hId--304886386%22%20id%3D%22toc-hId--304858667%22%20id%3D%22toc-hId--304858667%22%20id%3D%22toc-hId--304858667%22%20id%3D%22toc-hId--304858667%22%20id%3D%22toc-hId--304858667%22%3E%3CFONT%20size%3D%224%22%20color%3D%22%23000000%22%3EAnyone%20know%20what%20I%20am%20missing%3F%26nbsp%3B%3C%2FFONT%3E%3C%2FH1%3E%3CH1%20id%3D%22toc-hId--2112340849%22%20id%3D%22toc-hId--2112313130%22%20id%3D%22toc-hId--2112313130%22%20id%3D%22toc-hId--2112313130%22%20id%3D%22toc-hId--2112313130%22%20id%3D%22toc-hId--2112313130%22%3E%3CFONT%20size%3D%224%22%20color%3D%22%23000000%22%3EThanks%20in%20advance%26nbsp%3B%3C%2FFONT%3E%3C%2FH1%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2960593%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Network%20Connectivity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2961354%22%20slang%3D%22en-US%22%3ERe%3A%20can't%20retrieve%20trusted%20IP%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2961354%22%20slang%3D%22en-US%22%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20you%20run%20New-CsTenantTrustedIPAddress%20before%20that%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fnew-cstenanttrustedipaddress%3Fview%3Dskype-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fskype%2Fnew-cstenanttrustedipaddress%3Fview%3Dskype-ps%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2965289%22%20slang%3D%22en-US%22%3ERe%3A%20can't%20retrieve%20trusted%20IP%20using%20powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2965289%22%20slang%3D%22en-US%22%3EThanks%20Andres%20for%20your%20help.%3CBR%20%2F%3ENo%2C%20This%20is%20a%20good%20point.%20I%20checked%20the%20trusted%20IPs%20using%20Azure%20portal%20Security%20-%26gt%3B%20Conditional%20Access%20-%26gt%3B%20Named%20locations%20-%26gt%3BConfigure%20MFA%20trusted%20IPs.%20There%20is%20no%20trusted%20IPs%20listed%20there.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Contributor

I am trying to get Trusted IP list. I run the powershell command Get-CsTenantTrustedIPAddress -Tenant xxxxxxxx-xxxx-xxxx-xxxxxxxx, but it returns nothing.

Anyone know what I am missing? 

Thanks in advance 

 

6 Replies
Thanks Andres for your help.
No, This is a good point. I checked the trusted IPs using Azure portal Security -> Conditional Access -> Named locations ->Configure MFA trusted IPs. There is no trusted IPs listed there.
Hello px091,

The cmdlet -CsTenantTrustedIPAddress is exclusive of Microsoft Teams.

From your message, it seems you are trying to configure MFA trusted IPs?
I am trying to configure dynamic emergency calling.

Trusted IP addresses contain a collection of the internet external IP addresses of the enterprise network and are used to determine if the user's endpoint is inside the corporate network.

I need to get the list of trusted IPs, And enter those information into teams admin center->Location->Network toplogy->Trusted IPs
best response confirmed by px091 (Contributor)
Solution
Ok I think I understand better now
Essentially you need to define those Trusted IPs

You can find more information here https://docs.microsoft.com/en-us/microsoftteams/manage-your-network-topology
Thank Andres for your help and information!