Forum Discussion
Teams Room "Cannot Fetch Calendar"
I turned off MFA and logged in with my account and got the same error. What do you suggest? Thanks
- MartinCorydonDKDec 07, 2021Copper Contributor
TheGrahamWalsh I have the same problem. The only DNS that don't resolve is the meet.xyz.com - Can this be the problem? I have only one single device that exhibit this and 40 others that are working perfectly.
- Nathan_FBROct 26, 2020Brass Contributor
Confirming we also had the same issue with one of our Crestron Teams Room device, and changing the DNS to public fixed it. Not too sure why.
- Erick570Mar 20, 2020Copper Contributor
bjones96 i did the same but is not working....
The account was created using the microsoft guide SRS , using this 2 commands
New-Mailbox -Name "Project-Rigel-01" -Alias ProjectRigel01 -Room -EnableRoomMailboxAccount $true
-MicrosoftOnlineServicesID ProjectRigel01@contoso.onmicrosoft.com -RoomMailboxPassword
(ConvertTo-SecureString -String 'P@$$W0rd5959' -AsPlainText -Force)
Set-CalendarProcessing -Identity "Project-Rigel-01" -AutomateProcessing AutoAccept -
AddOrganizerToSubject $false -DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
-AddAdditionalResponse $true -AdditionalResponse "This is a Skype Meeting room!"
and then assigning the license - LinusCansbyFeb 19, 2020MVP
bjones96 Great. If you changed the DNS settings locally on the MTR it is probably better that you get the DNS server updated with the correct names so that you can continue using DHCP and so that you don't get this much problems with the next devices.
- Feb 19, 2020Great to hear
- Feb 19, 2020Glad you sorted it out. Have fun with it!
- bjones96Feb 19, 2020Brass ContributorYay... It's finally working. Thanks a ton guys. Sorry to be so dumb as to these things.
- LinusCansbyFeb 19, 2020MVPThen I guess then that those local DNS servers is not configured correctly for the frsgrp.com forwarding zone.
If you change connection properties in Windows when logged in as admin the MTR application will use those settings. MTR application uses DNS settings from Windows. - bjones96Feb 19, 2020Brass Contributor
Ok cool. thanks. because the MTR device is located behind a firewall/windows server the DNS is picking up FRSCANADA.local as DNS.
if i change the connection properties on the adminaccount side of the MTR device will it reflect on the skype user side?
thanks.
- LinusCansbyFeb 19, 2020MVP
What you did with that command when you added the -Server parameter was to say to powershell not to use the DNS server configured in Windows, use this one instead (DNS1.NAME-SERVICES.COM).
So I guess there is something wrong with the DNS server you are using on your MTR (or computer you are running these tests from).
So check the DNS settings in windows, just type ipconfig /all and you will see the settings and what DNS server you are using.
You could also test to use another public DNS server, like google DNS 8.8.8.8. Change this in Windows for your MTR or the machine you are testing from, this could give you other problems if you are using a domain joined machine but this is just for testing.
- bjones96Feb 19, 2020Brass Contributor
below is what is get when doing Resolve-DnsName -Type CNAME -Name autodiscover.$name -Server DNS1.NAME-SERVICES.COM
Name Type TTL Section NameHost
---- ---- --- ------- --------
autodiscover.frsgrp.com CNAME 1608 Answer autodiscover.outlook.com - LinusCansbyFeb 19, 2020MVP
Should look like this.
Can you try:
Resolve-DnsName -Type CNAME -Name autodiscover.$name -Server DNS1.NAME-SERVICES.COM
- bjones96Feb 19, 2020Brass Contributor
sorry, i have posted the full result below. in rackspace dns settings i have autodiscover cname pointing to autodiscover.outlook.com. see attached screen shot.
Resolve-DnsName : autodiscover.frsgrp.com : DNS name does not exist
At line:4 char:1
+ Resolve-DnsName -Type A -Name autodiscover.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (autodiscover.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : autodiscover.frsgrp.com : DNS name does not exist
At line:5 char:1
+ Resolve-DnsName -Type CNAME -Name autodiscover.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (autodiscover.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsName
Name Type TTL Section PrimaryServer NameAdministrator SerialNumber
---- ---- --- ------- ------------- ----------------- ------------
frsgrp.com SOA 3600 Authority server.frscanada.local hostmaster.frscanada.local 8Name : frsgrp.com
QueryType : MX
TTL : 3600
Section : Answer
NameExchange : mx2.emailsrvr.com
Preference : 20
Name : frsgrp.com
QueryType : MX
TTL : 3600
Section : Answer
NameExchange : mx1.emailsrvr.com
Preference : 10
Name : mx2.emailsrvr.com
QueryType : A
TTL : 79
Section : Additional
IP4Address : 173.203.187.2
Name : mx1.emailsrvr.com
QueryType : A
TTL : 40
Section : Additional
IP4Address : 173.203.187.1Resolve-DnsName : mail.frsgrp.com : DNS name does not exist
At line:8 char:1
+ Resolve-DnsName -Type A -Name mail.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (mail.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : _sipfederationtls._tcp.frsgrp.com : DNS name does not exist
At line:10 char:1
+ Resolve-DnsName -Type SRV _sipfederationtls._tcp.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (_sipfederationtls._tcp.frsgrp.com:String) [Resolve-DnsName], Win32
Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : lyncdiscover.frsgrp.com : DNS name does not exist
At line:11 char:1
+ Resolve-DnsName -Type CNAME lyncdiscover.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (lyncdiscover.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : sip.frsgrp.com : DNS name does not exist
At line:12 char:1
+ Resolve-DnsName -Type CNAME sip.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (sip.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : meet.frsgrp.com : DNS name does not exist
At line:13 char:1
+ Resolve-DnsName -Type A meet.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (meet.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsName - LinusCansbyFeb 19, 2020MVP
Great script from Room System master TheGrahamWalsh .
bjones96 I don't see the results from this, can you post taht?
Resolve-DnsName -Type CNAME -Name autodiscover.$name
Also it looks like you have an internal DNS with the zone frsgrp.com and that DNS server is missing the records you get a failure for. Can you add them in the zone and also check that you have a CNAME for autodiscover.frsgrp.com pointing to autodiscover.outlook.com
- bjones96Feb 19, 2020Brass Contributor
Here is my result. can you help me what i need to do to set the DNS up correctly?
Name : frsgrp.com
QueryType : MX
TTL : 3600
Section : Answer
NameExchange : mx2.emailsrvr.com
Preference : 20
Name : frsgrp.com
QueryType : MX
TTL : 3600
Section : Answer
NameExchange : mx1.emailsrvr.com
Preference : 10
Name : mx2.emailsrvr.com
QueryType : A
TTL : 79
Section : Additional
IP4Address : 173.203.187.2
Name : mx1.emailsrvr.com
QueryType : A
TTL : 40
Section : Additional
IP4Address : 173.203.187.1Resolve-DnsName : mail.frsgrp.com : DNS name does not exist
At line:8 char:1
+ Resolve-DnsName -Type A -Name mail.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (mail.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : _sipfederationtls._tcp.frsgrp.com : DNS name does not exist
At line:10 char:1
+ Resolve-DnsName -Type SRV _sipfederationtls._tcp.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (_sipfederationtls._tcp.frsgrp.com:String) [Resolve-DnsName], Win32
Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : lyncdiscover.frsgrp.com : DNS name does not exist
At line:11 char:1
+ Resolve-DnsName -Type CNAME lyncdiscover.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (lyncdiscover.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : sip.frsgrp.com : DNS name does not exist
At line:12 char:1
+ Resolve-DnsName -Type CNAME sip.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (sip.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsNameResolve-DnsName : meet.frsgrp.com : DNS name does not exist
At line:13 char:1
+ Resolve-DnsName -Type A meet.$name
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (meet.frsgrp.com:String) [Resolve-DnsName], Win32Exception
+ FullyQualifiedErrorId : DNS_ERROR_RCODE_NAME_ERROR,Microsoft.DnsClient.Commands.ResolveDnsName - Feb 19, 2020
bjones96 I use this PowerShell to test settings. Just change line 2 with your domain name.
### Enter Domain Name below
$name='contoso.com'### Exchange
Resolve-DnsName -Type A -Name autodiscover.$name
Resolve-DnsName -Type CNAME -Name autodiscover.$name
Resolve-DnsName -Type TXT -Name $name
Resolve-DnsName -Type MX -Name $name
Resolve-DnsName -Type A -Name mail.$name### Skype for Business
Resolve-DnsName -Type SRV _sipfederationtls._tcp.$name
Resolve-DnsName -Type CNAME lyncdiscover.$name
Resolve-DnsName -Type CNAME sip.$name
Resolve-DnsName -Type A meet.$name - Feb 19, 2020
You can check your DNS records in the M365 Admin center, under settings and then domains.
- bjones96Feb 17, 2020Brass Contributor
A couple weeks have passed and no luck...how do i check to make sure my autodiscover is correct?
- Jan 31, 2020This error usually appears when the new account hasn't fully replicated within O365. Has it worked now that 24hrs have passed?
This post might help too https://medium.com/@vaughanjamesr/microsoft-teams-rooms-cannot-fetch-calendar-39f682666636 - bjones96Jan 17, 2020Brass Contributor
- bjones96Jan 16, 2020Brass Contributor
LinusCansby I ran the following
Set-User -Identity mmboardroom@frsgrp.com -AuthenticationPolicy $null
and got "The command completed successfully but no settings of 'MM Boardroom' have been modified."
what am i doing wrong?
- LinusCansbyJan 16, 2020MVP
Check if Basic Authentication is blocked in Exchange.
https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/disable-basic-authentication-in-exchange-online
https://pdhewaju.com.np/2018/10/31/enabling-basic-authentication-on-exchange-online/Check if you are using proxy that you have to configure this device with.
- bjones96Jan 16, 2020Brass Contributor
Ive uploaded the log after changing the login around a bit and back again. can you comment.