Wednesday, June 19, 2013

Configure Fiddler for Lync Mobile sign-in troubleshooting



While we have the online utility (https://www.testexchangeconnectivity.com) to verify our Lync Mobility deployment’s functionality, sometimes the Lync administrator must deep dive into the sign-in process. Below I will describe a basic setup of both Fiddler and mobile devices for troubleshooting the process or… just plain fun, if you want to see what is happening under the hood.

Download and install Fiddler2 (http://fiddler2.com/get-fiddler). I always use the latest stable build… Do not start Fiddler after installation. There is one more executable we must install in order to enable tracing for iOS devices. Download and install the New Certificate Maker (http://fiddler2.com/r/?FiddlerCertMaker).

With both installed, start Fiddler and go to Tools -> Options



Go to the Connections tab and check “Allow remote computers to connect”. Click OK on the pop up note.



 The next step is to enable HTTPS Decryption. Go to the HTTPS tab and check “Decrypt HTTPS traffic".



Apparently Eric Lawrence has a good sense of humor – “Scary text ahead”, eh…

When set to decrypt HTTPS traffic, Fiddler works in (sort of) SSL Offload mode. Fiddler will make HTTPS requests from the local machine’s applications (or remote clients if it is configured to act as HTTP Proxy) re-encrypt with the “Fiddler Root Certificate” and then pass it to the application/client who made the request. This is because the Lync client for example, makes true HTTPS request and expects to receive answers via the established SSL channel. Without re-encryption, Fiddler would pass the answer from our reverse proxy as HTTP and the Lync client would say “Ughm, this is not what I expect”.

In a new window will you will be asked you to confirm the Fiddler root certificate installation. Click "Yes" to confirm on TrustCert confirmation screen.


At this point Fiddler is capable of decrypting local HTTPS traffic for further review. However, our goal is examine traffic between Lync and the mobile clients.

Right now, the newly generated Fiddler Root certificate is not present on the mobile device I'm going to test with. The first step is to export the certificate via the Fiddler Options screen.


The certificate can be now found on the desktop.


Because I will direct traffic from my phone to pass on TCP port 8888 (the default port Fiddler uses for HTTP proxy) via the machine Fiddler is installed. I will create a firewall exception from PowerShell. Note: You must run PowerShell as Administrator to create the rule.


Import-Module NetSecurity
New-NetFirewallRule -DisplayName "Fiddler Proxy Exception" -Description "Allow remote client to use Fiddler" -Protocol TCP -LocalPort 8888 -Enabled True -Profile Any -Action Allow -Verbose


Now I will email the certificate to myself, and then install it on my Windows 8 phone and iPad.



Once the email arrive on my WP8 device, I open it, click on the attachment and confirm the installation.




Next - configuration of the phone to use HTTP proxy for web requests. Select your Wi-Fi network...



...slide Proxy to ON, enter the IP Address of the workstation where Fiddler is installed and set the port (8888 if you used default).


To test the setup, I use Bing on the phone and search for “Lync 2013”. The expectation is Fiddler will show traffic coming from the phone.


Yup, it works! Now I will sign-in with my Lync 2013 Windows Mobile Client and watch the magic.


Oh joy. Clicking on a line will reveal the “under the hood” process.

Here are few screenshots of the iPad configuration steps.The steps are similar taken on WP8 device.

Install Fiddler Root Certificate:





Configure the Proxy:





Refer to your manufacturer's instructions how to setup other devices.

This setup can be used to trace and review sign-in process of both Lync Mobile 2010 and Lync Mobile 2013 clients. Fact is - I advice to do so and get familiar with the differences between MCX and UCWA services.

Oh, you can use Fiddler to troubleshoot Lync MX as well.

Install the EnableLoopback Utility (https://www.fiddler2.com/dl/EnableLoopbackUtility.exe)

If you have Lync MX already installed, when Loopback Utility screen opens, locate and check Lync app.

That's all, folks... Enjoy.


53 comments:

scurlaruntings said...

Awesome find! One small caveat you have to restart Fiddler after changing the 'Fiddler Options'.

Lincoln Madison said...

A toll-free virtual phone number gives your small business a large business presence at a fraction of a cost of what the traditional Toll Free Numbers would have cost you in the past.

Anonymous said...

Nice :)

Unknown said...

Thanks For sharing this Superb article.I use this Article to show my assignment in college.it is useful For me Great Work. mobile problems

Scrappur said...

Have you checked the BHIM App For Mobile and BHIM

Elizabeth J. Neal said...

The post is written in very a good manner and it contains many useful information for me.
Vehicle Signwriting Wolverhampton

Elizabeth J. Neal said...

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
Vehicle Signs Telford

Quickbooks Online Support Phone Number said...

this is really amazing. thanks for sharing this with us.

albina N muro said...

You’ve got some interesting points in this article. I would have never considered any of these if I didn’t come across this. Thanks!. instagram followers app download for android

webroot.com/safe said...

Webroot.com/safe to opt best security for your all digital devices. No one can deny the fact that Internet is our primary need today and devices connected with internet are always in high risk of virus attacks.

webroot.com/safe said...

www.webroot.com/safe we are best in our Industry, In one click Install wsainstall exe from webroot.com/safe for Windows device.

www.trendmicro.com/bestbuypc said...

Computer security is the process of preventing and detecting unauthorized use of your computer. Prevention measures help you stop unauthorized users from accessing any part of your computer system.

Anonymous said...

https://zielonyflaming.pl Wow cuz this is extremely great work! Congrats and keep it up.

mikethomson said...

Really great post. I just unearthed your online journal and needed to say that I have truly delighted in perusing your blog entries. Any way I'll be subscribing to your food and I trust you post again soon. Huge much obliged for the valuable data. https://itprospt.com/live-wallpaper-windows-10

Aslam said...

I was facing the issue and with this trouble shooting method my issues has been resolved. Before it I won't be able to play or download any game or app in it.

yaman ban said...

thanks for this valuable post but the most appealing things are:
1. cactus jacket merch
2. ugg bath towel
3. dog foldable bed

Crave said...

Excellent information! I just discovered your site and have been following along.extra lives mod apk unlimited health I intended to post my initial remark. The only thing I can say is that I have.

News World said...

You are performing admirably and a multitude of individuals will derive advantage from your efforts. I have encountered a website post covid hair loss remedy that is performing exceptionally and I hope that you can also reap its benefits.

john said...

You're performing admirably, and I'm genuinely impressed by your recent work. I came across a post about cricket Latest updates on Asia Cup 2023 not too long ago, and it's clear they're excelling too.

arabic said...

You're doing a great job, mate! I'm really impressed with your work. I have come across a website that provides information related to books Hayde Miller and books. I like their work and want you to benefit from it.

ayaani said...

You're doing an excellent job, my friend! I'm genuinely impressed with your efforts. A few days ago, I came across a website that is performing exceptionally well, and I thought I'd share it with you. This way, you can also derive some Network Digital insights and benefits from it.

arabic said...

"You're doing a fantastic job, my friend! I'm truly amazed by your dedication. Just a few days ago, I stumbled upon a website that's excelling in every way, and I wanted to pass it along to you. I believe you can glean valuable melodic beats insights and benefits from it as well."

adam said...

You're performing exceptionally, my friend! Your unwavering dedication is truly astonishing. I chanced upon a website that's excelling in every aspect just a few days ago, and I thought of sharing it with you. I'm confident that you LAMTOGEL can extract valuable insights and advantages from it.

davidconway said...

I must commend your commendable efforts and express my genuine amazement at the outstanding quality of your work. Nevertheless, I recently came across another website that has been achieving remarkable success as well. I believe it's worth exploring the potential for your website to grow and evolve in a similar fashion. This might LED steering wheels entail adopting some of the successful strategies and approaches employed by the other site, which has undeniably made significant progress. By pursuing this avenue, we can aspire to amplify the impact and reach of your website, ensuring it maintains its competitiveness and continues to excel in its field.

bigshoto said...

Your work is truly impressive! I recently discovered a fantastic website that's excelling in its performance. I wanted Miami metal roofing Florida to share it with you so that you can also benefit from it. Great job, my friend!

madnirocket said...

I must express my admiration for your remarkable work! Lately, I stumbled upon an extraordinary website that truly stands out for its outstanding performance. I couldn't resist the urge to share this discovery Online Courses with you, as I believe it can bring tremendous value to your online experience. Kudos, my dear friend, for the outstanding job you've done!

rimjhim said...

I'm truly impressed by your outstanding work! Recently, I came across a remarkable website with exceptional performance. I couldn't wait to share it with you, as I think it'll greatly enhance your online experience. Crypto Exchange Kudos to you, my dear friend, for your exceptional efforts!

Henry mamar said...

Unified Communications with Microsoft provides a comprehensive and integrated communication platform, bringing together tools like Microsoft Teams, Outlook, and SharePoint for seamless collaboration, file sharing, and communication within organizations. This unified approach enhances productivity, teamwork, and communication efficiency across various channels.





Property maintenance said...

Planning a Sonic the Hedgehog-themed party? Get ready to race into a world of fun and adventure! From vibrant invitations that capture Sonic's speed to creating a dynamic atmosphere with iconic colours, your celebration is sure to be a hit among fans. Just remember, the excitement begins with sonic the hedgehog invitation – set the tone for a blast of a party that even Dr Robotnik would envy!

gaming said...


I would like to commend
Gamingboss you on your excellent work; it has proven to be both impressive and incredibly beneficial to me. Recently, I discovered a website dedicated to online application.

gaming said...


I would like to commend you on
Gamingboss your excellent work; it has proven to be both impressive and incredibly beneficial to me. Recently, I discovered a website dedicated to online application.

metropolitan seafood said...

I recently discovered your metro steak and seafood website, and I'm genuinely impressed! The layout is user-friendly, and the content is both informative and visually appealing.
It's clear that a lot of thought and effort went into creating this space.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,
I recently led rasvjeta discovered a website related to led rasvjeta, and it's proving to be highly effective.
I wanted to share this find reflektori with you, hoping that you can also derive benefits from it, just as I have.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,
I recently blackfyre discovered a government proposal manager website related to blackfyre, and it's proving to be highly effective.
I wanted to share this find with you, hoping that you can also derive benefits from it, just as I have.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,
I recently discovered a website E-commerce website ontwikkeling related to you, and it's Dezigny.nl proving to be highly effective.
I wanted to share this Dezigny.nl find with you, hoping that you can also derive benefits from it, just as I have.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,
I recently meetwise discovered a Real-time AI Transcription website related to meetwise, and it's proving to be highly effective.
I wanted to share this find with you, hoping that you can also derive benefits from it, just as I have.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,
I recentl foodandtravelhub discovered a gluten free portos website related to foodandtravelhub, and it's proving to be highly effective.
I wanted to share this find with you, hoping that you can also derive benefits from it, just as I have.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,
I recently modafinil discovered a website modafinil related to modafinil, and it's proving to be highly effective.
I wanted to share this find with you, hoping that you can also derive benefits from it, just as I have.

jameshatt said...

You're excelling in your efforts, and your work is both impressive and incredibly beneficial for me. Likewise,I recently italy-honeymoon discovered a website Custom Italy Vacation Package related to italy-honeymoon, and it's proving to be highly effective.I wanted to share this find with you, hoping that you can also derive benefits from it, just as I have.

michaelb.havel said...

Glad to pay attention that the troubleshooting method labored for you and resolved your problems gambling or downloading video games and apps. It should had been frustrating earlier than, however it is incredible that you observed an answer!

davidhorgon said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about Website design



davidhorgon said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about Camera install


madnii said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about bike accessories

driveseedsi said...

Unified Communications with Microsoft involves integrating communication tools like Teams, Skype for Business, Exchange Server, SharePoint, and Office 365. This creates a seamless environment for collaboration, combining chat, video, email, document management, and productivity applications. The goal is to enhance communication, streamline workflows, and boost overall productivity within an organization.

madnii said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about Eco Recycling Mobilität

Property maintenance said...

Urnotinvited offers a fantastic selection of digital invitations for all occasions. Their designs are stylish and modern, perfect for those looking to make a statement with their event invitations. I highly recommend checking them out!

Property maintenance said...
This comment has been removed by the author.
jameshatt said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about Subway menu

jameshatt said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about sofia to plovdiv transfer

saeed said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about extended essay tutoring

madnii said...

An seo specialist dubai is a professional skilled in optimizing websites for better visibility on search engines like Google, Bing, and Yahoo. These experts employ a variety of strategies and techniques to improve a website's ranking on the search engine results pages (SERPs), with the ultimate goal of driving more organic traffic to the site.

madnii said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about product reviews

madnii said...

Such an amazing post, I really like it. I also want to tell you about the website which is providing very helpful information about mama nature .