<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Lee Hannibal</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/leehannibal/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/leehannibal/feed.xml</link>
    <description>Just another Technet site</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:45:50 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>For some users in OWA the SFB meeting button is not working</title>
      <link>https://docs.microsoft.com/archive/blogs/leehannibal/for-some-users-in-owa-the-sfb-meeting-button-is-not-working</link>
      <pubDate>Mon, 23 Apr 2018 13:30:06 GMT</pubDate>
      <dc:creator><![CDATA[Lee Hannibal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leehannibal/?p=105</guid>
      <description><![CDATA[I recently worked on an issue that was somewhat confusing. The Skype for Business button was missing...]]></description>
      <content:encoded><![CDATA[I recently worked on an issue that was somewhat confusing. The Skype for Business button was missing for <em>some</em> users. Not all users just some.

We were not able to narrow this down to just one user, one site or even one pool. It made for a fun time trying to troubleshoot where the issue was occurring. IM and presence were working just fine in OWA too!!

So what did we find? So we started troubleshooting this one as you would any other case with the OWA button. We verified OAuth (even though it worked for some users). We ran and verified the Test-Csexchangeconnectivity this all came back clean for the user. We ruled out the machine by logging in elsewhere, inside and outside the org. We collected Fiddler traces. This opened up a jumping point for us to troubleshoot.

The working user we could see the line "IsUcwaSupported":true as seen below. In a non-working user replace true with false.

<img src="https://msdnshared.blob.core.windows.net/media/2018/04/Fiddler-working-300x52.png" alt="" width="300" height="52" class="alignnone size-medium wp-image-115" />

Searching on Lyncdiscover also showed us the following:

{"SipUri":"sip:user@uk2us88.com.com","IsUcwaSupported":false,"DiagnosticInfo":"AnonymousAutodiscover_Exception_NoInnerException_Both http and https anonymous autodiscover requests failed with errors ('https://lyncdiscover.uk2us88.com.com/?sipuri=sip:user@uk2us88.com.com', 'https://lyncdiscover.uk2us88.com/?sipuri=sip:user@uk2us88.com.com')"}
","IsUcwaSupported":false,"

Finally something to use in logging. I then setup CLSlogging and captured on UCWA and WebInfra. Searching on my user(s)  I was surprised to learn that in a non-working scenario there were no hits for the user. However, for the working user we were able to find the following when I put the output into snooper:

<img src="https://msdnshared.blob.core.windows.net/media/2018/04/Capture.bmp" alt="" width="1726" height="337" class="alignnone size-full wp-image-205" />

As you can see after searching on the AutoD from the CLS logs from a working user  I can see the flow of the request. What we are looking for here is the response back from Autod (Exchange)  "Authorization: Bearer XXXX." Then we see the various 200's and we are authenticated. IF you do not see this more than likely you are also getting the above error about AnonymousAutodiscover.

In a non working this would not show as we are not able to capture logging from a Skype perspective.

At this point we need OWA logs from Exchange:

After working with the OWA team more so just to see if we could resolve https://lyncdiscover.uk2us88.com we found that for the same user was only able to resolve the url on a few servers. We found that the servers that we could not resolve were on different subnets versus the ones we could resolve. As we dug further into this we discovered that this appeared to be an Express Route/Firewall issue.

While we were using Express Route to cover all the Subnets for 0365 this appeared to affect the way the Oauth path/token worked. For the subnets that we had added outside the Express Route this worked perfectly. So we reached out to the Firewall team. After some discussions we pulled out the way the subnets were setup and entered them in outside the Express Route. After we did this we were able to create Skype For Business Meetings inside OWA.

<a href="https://msdnshared.blob.core.windows.net/media/2018/04/add-in.bmp"><img src="https://msdnshared.blob.core.windows.net/media/2018/04/add-in.bmp" alt="" width="459" height="111" class="alignnone size-full wp-image-215" /></a>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Shell script used to completely remove S4B Mac</title>
      <link>https://docs.microsoft.com/archive/blogs/leehannibal/shell-script-used-to-completely-remove-s4b-mac</link>
      <pubDate>Mon, 20 Nov 2017 17:19:17 GMT</pubDate>
      <dc:creator><![CDATA[Lee Hannibal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leehannibal/?p=95</guid>
      <description><![CDATA[On occasion you may need to remove the S4B Mac client. Thanks to both Kam Foo Aw and Yong Lim we now...]]></description>
      <content:encoded><![CDATA[On occasion you may need to remove the S4B Mac client. Thanks to both Kam Foo Aw and Yong Lim we now have a very easy way to do so. All credit goes to them. I am just sharing the knowledge. As with all scripts use at your own discretion.

You will need to save this as a .sh file and run it with root permissions.

<span style="color: #000000;font-family: Calibri"># SFBMac uninstall script v. 1.1
</span><span style="color: #000000;font-family: Calibri">#!/bin/sh -e
</span><span style="color: #000000;font-family: Calibri">sudo rm -rf /Applications/Skype\ for\ Business.app
</span><span style="color: #000000;font-family: Calibri">sudo rm -rf /Library/Internet\ Plug-Ins/MeetingJoinPlugin.plugin</span>

<span style="color: #000000;font-family: Calibri">defaults delete com.microsoft.SkypeForBusiness || true
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Containers/com.microsoft.SkypeForBusiness
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Logs/DiagnosticReports/Skype\ for\ Business_*
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Saved\ Application\ State/com.microsoft.SkypeForBusiness.savedState
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Preferences/com.microsoft.SkypeForBusiness.plist
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Application\ Support/CrashReporter/Skype\ for\ Business_*
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.skypeforbusiness*
</span><span style="color: #000000;font-family: Calibri">rm -rf ~/Library/Cookies/com.microsoft.SkypeForBusiness*
</span><span style="color: #000000;font-family: Calibri"></span>

<span style="color: #000000;font-family: Calibri">sudo rm -rf /private/var/db/receipts/com.microsoft.SkypeForBusiness*
</span><span style="color: #000000;font-family: Calibri">rmdir ~/Library/Application\ Scripts/com.microsoft.SkypeForBusiness
</span><span style="color: #000000;font-family: Calibri">find -f /private/var/db/BootCaches/* -name "app.com.microsoft.SkypeForBusiness*" -exec sudo rm -rf {} +</span>

<span style="color: #000000;font-family: Calibri"> </span><span style="color: #000000;font-family: Calibri">while security delete-generic-password -l 'Skype for Business' ~/Library/Keychains/login.keychain; do :; done
</span><span style="color: #000000;font-family: Calibri">killall cfprefsd</span>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Mac Delegation for SFB On Prem</title>
      <link>https://docs.microsoft.com/archive/blogs/leehannibal/mac-delegation-for-sfb-on-prem</link>
      <pubDate>Thu, 16 Nov 2017 22:58:19 GMT</pubDate>
      <dc:creator><![CDATA[Lee Hannibal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leehannibal/?p=25</guid>
      <description><![CDATA[SFB Mac delegation On-Premises

&nbsp;

Recently  I have worked on a few cases where the...]]></description>
      <content:encoded><![CDATA[SFB Mac delegation On-Premises

&nbsp;

Recently  I have worked on a few cases where the delegation for MAC is not working as expected. There are a few things that need to be verified before this option is available in the On-Prem environment.

&nbsp;
<ul>
 	<li>Both the Boss (Delegator) and Admin (Delegate) must be enterprise enabled</li>
 	<li>The delegate (admin) must be homed in the same forest as the delegator (Boss) user account</li>
 	<li>EnableDelegation must be true for the CsVoicePolicy</li>
 	<li>EnableDelegateManagement must be true for CsPlatformServiceSettings <em><strong>update</strong></em>: this is on by default in the Dec 2017 CU found <a href="https://support.microsoft.com/en-us/help/4036615">here</a></li>
 	<li><span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">Please note this was introduced </span><a href="https://support.microsoft.com/en-us/help/4015893/enables-delegate-management-feature-for-unified-communications-web-api"></a><a href="https://support.microsoft.com/en-us/help/4015893/enables-delegate-management-feature-for-unified-communications-web-api"></a><a href="https://support.microsoft.com/en-us/help/4015893/enables-delegate-management-feature-for-unified-communications-web-api">here
</a></li>
 	<li><span>UcsAllowed must be false for CsUserServicesPolicy (Lync Server 2013 only)</span><span>   </span></li>
</ul>
So let's walk through this:

&nbsp;

I will use Test3 as the boss and test4 as the admin

&nbsp;

So we verified our users are EV enabled:

&nbsp;

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/evenabled.bmp"><img width="799" height="72" class="alignnone size-full wp-image-55" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/evenabled.bmp" /></a>

I only have one domain so the forest portion is easily verified.

&nbsp;

In my voice policy we see that the Enable delegation is set to true:

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/delegation.bmp"><img width="516" height="141" class="alignnone wp-image-56" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/delegation.bmp" /></a>

&nbsp;

Now since I have applied the CU needed for CSPlatformservicesettings I see by default this is set to false:

<img width="467" height="118" class="alignnone size-full wp-image-66" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/Platform1.bmp" />

&nbsp;

<b>'Set-CsPlatformServiceSettings –EnableDelegateManagement $true'</b>

&nbsp;

<img width="480" height="85" class="alignnone wp-image-76" style="height: 136px;text-align: left;color: #333333;text-indent: 0px;letter-spacing: normal;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;text-decoration: none;max-width: 1380px;background-color: transparent" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/Platform2.bmp" /><b></b><i></i><u></u><sub></sub><sup></sup><span style="text-decoration: line-through"></span>

<b></b><i></i><u></u><sub></sub><sup></sup><span style="text-decoration: line-through"></span>

&nbsp;

&nbsp;

Since this is a 2015 pool the UCSAllowed does not apply here

&nbsp;

So now over to our Boss on the Mac client:
<ol>
 	<li>On the <b>Contacts</b> tab, search for the contact you want to add as a delegate.</li>
 	<li>Right-click the contact to show the available contact options. (Or click the person's photo to show the contact card.)</li>
 	<li>Select the <b>Groups</b> icon and then select <b>My Delegates</b>.</li>
</ol>
<img width="637" height="271" class="alignnone wp-image-65" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/Mac-delegate.bmp" /><b></b><i></i><u></u><sub></sub><sup></sup><span style="text-decoration: line-through"></span>

Now we can sign in as the admin and we should see we were added as the delegate for Test3 (Boss)

&nbsp;

<img width="300" height="168" class="alignnone size-medium wp-image-85" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/11/Windows-client.bmp" /><b></b><i></i><u></u><sub></sub><sup></sup><span style="text-decoration: line-through"></span>

<b></b><i></i><u></u><sub></sub><sup></sup><span style="text-decoration: line-through"></span>

At this point we are all done and you should be able to use the delegation as expected with the Mac client with SFB on Prem.]]></content:encoded>
    </item>
  </channel>
</rss>