We separate the Webhook listener from the Admin Portal because we need to open access from the outside to Microsoft. This Listener Server can be installed in the DMZ of the organization.
Installation
Enable IIS on target machine (all the checkboxes)
Copy all the content from the zip file (from the payload) into new folder: \fs\share\Build Versions\Production\SphereShield.Listener
Replace these files with the ones from AccessPortal folder:
SphereShield.CasbCommon.dll
SphereShield.CasbMessagingBL.dll
SkypeShield.Infrastructure.dll
SkypeShield.Cryptography.dll
SkypeShield.File.dll
SkypeShield.Ldap.dll
SkypeShield.Mdm.dll
SkypeShield.Messaging.dll
SkypeShield.ServiceManagement.dll
SkypeShield.Settings.dll
SkypeShield.Skype.dll
SkypeShield.Validation.dll
SphereShield.Common.dll
SkypeShield.Infrastructure.Entities.dll
CasbMsOfficeApplication.dll
Create new site in the IIS manager and set the Physical path to new folder created.
Make sure all options under IIS are selected for the server, especially the development ones which include ASP versions.
Create an https URL for this site , then Microsoft could be send event to the site. (We can use Teams7 for this, we then need to add a DNS record, like we do with other portals. A.L. Mar 28, 2022). We should give a hostname like “listener”.
Set ConnectionString and IV / KEY and Webhook certificate in the Configuration folder
Change the C:\Agat\Listener_site\Configuration\Log4net.config file so the logs will write in this location: D:\Agat\Logs\ListenerSite
Make sure the AWS instance has the Security group that leaves 443 open to all.
Navigate to the site and you should see this Welcome page:
In IIS Manager, open Application Pools
open Advanced Settings of your portal
set “Load User Profile” to “True”
Heartbeat
Connection Check
Url: /api/Heartbeat
Method: GET
Good Response: 200 “
I am alive.... :-)
“bad Response: 404
Admin Portal configuration
A new setting was added to the Cloud Service Integration section:
Need to Enter the URL of the Webhook site created.
Note: When external site url is left empty the Webhook will be set to the portal url as before this change.