Search This Blog

Wednesday, July 27, 2016

CRM NAV connector - do we need a CRM license for the connector?

The answer is yes, but only to create the account, then the license can be removed. Check out this to get more details:

https://technet.microsoft.com/en-us/library/jj191623.aspx

  1. Create a user account in the Office 365 admin center.
    Be sure to assign a CRM Online license to the account.
  2. Go to CRM Online.
  3. Go to Settings > Security.
  4. Choose Users > Enabled Users, and then click or tap a user’s full name.
  5. In the user form, scroll down to the Client Access License (CAL) Information section and select Non-interactive for Access Mode.
    You then need to remove the CRM Online license from the account.
  6. Go to the Office 365 admin center.
  7. Click Users > Active Users.
  8. Choose the non-interactive user account and in the right-side menu under Product licenses, click Edit.
  9. Turn off the CRM Online license and click Save.
  10. Go back to CRM Online and confirm that the non-interactive user account Access Mode is still set for Non-interactive.

Monday, July 25, 2016

Saturday, July 23, 2016

SharePoint 2013 install issues

https://www.devfacto.com/insights/resolved-error-1603-installing-sharepoint

as well as copy ServerManager.exe to ServerManagerCMD.exe

Am I using the lastest binaries?  Never had these issues before.

Thursday, July 21, 2016

Direct access watchdog

We have an instability when we use Direct Access NLB and ESX E1000 adapters. It stops working randomly.  As a temporary workaround we created a script that can monitor and reset failed adapters.
in long run we want to change to VMXNET3 adapters that are more stable.

@echo off
echo This is a DA watchdog, pls do not close. it will stop every day when hour is 00
eventcreate /ID 998 /L APPLICATION /T INFORMATION /SO DA /D "Direct Access network adapter watchdog is started"

:LOOPPING


set HH=%TIME: =0%
set HH=%HH:~0,2%
set MI=%TIME:~3,2%
echo %HH%

if "%HH%" == "00" goto Quit_here

ping -S vip-public -n 1 public-gw >nul
if errorlevel 1 goto NoServer_public

ping -S vip_private -n 1 private_gw >nul
if errorlevel 1 goto NoServer_private


timeout /t 60 >nul
goto LOOPPING

:NoServer_public
echo Check again

eventcreate /ID 997 /L APPLICATION /T WARNING  /SO DA /D "Direct Access DMZ public gateway stopped responding, we will check again to be sure"
timeout /t 10 >nul

ping -S vip-public -n 1 public-gw >nul
if errorlevel 1 goto RESET_PUB

goto LOOPPING
:RESET_PUB

echo we have a problem - refer to eventlog event 999
eventcreate /ID 999 /L APPLICATION /T ERROR  /SO DA /D "Direct Access DMZ public gateway stopped responding, we will reset adapter"
powershell -Command "& restart-netadapter 'Public DMZ'"
timeout /t 60 >nul
goto LOOPPING

:NoServer_private
echo Check again

eventcreate /ID 997 /L APPLICATION /T WARNING  /SO DA /D "Direct Access DMZ private gateway stopped responding, we will check again to be sure"
timeout /t 10 >nul

ping -S vip_private -n 1 private_gw >nul
if errorlevel 1 goto RESET_PRIV
goto LOOPING

:RESET_PRIV

echo we have a problem - refer to eventlog event 999
eventcreate /ID 999 /L APPLICATION /T ERROR  /SO DA /D "Direct Access DMZ private gateway stopped responding, we will reset adapter"
powershell -Command "& restart-netadapter 'Private DMZ'"
timeout /t 60 >nul
goto LOOPPING


:Quit_here
echo we finish script every day at 00:

Friday, July 15, 2016

We’re having a problem opening this location in File Explorer. Add this web site to your Trusted Sites list and try again

If you see this message when you try to uload file to SharePoint or open library in Windows Explorer, check if you are using Windows 2012 R2 server. If it is the case, then most probably your server does not have Desktop Experience feature installed. It make sense as it is not required on the server. Anyway you can add it using Service Manager, you will need to reboot this server after that.

Friday, July 8, 2016

Skype for Business SCOM watchernode is not doing all tests

For syntetic tests in watcher we want to see all tests, but in one co nfiguration we see only 2-3 first test in Eventlog and that's it.   All manual tests are passing ok.

To debug we will run MainSTExecuter.ps1  (that's main script for watcher - it gets regenerated by SCOM agent and can be found in temp folders of monitoring agent on watcher). When we run the script (run as admin) we can see that it takes a lot of time to run each test due to error in autodiscovers HTTP. This port is closed, in favour of HTTPS. But for tests it is a big problem as timeouits gets accumulated and not enough time to run whole script inside 15 minutes.

We will disable this check

Set-CsWatcherNodeConfiguration -Identity "poo.fqdn" -UseAutoDiscovery $false

and now all tests are passing ok with no delays.