<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Captain 365 &#8211; Captain 365</title>
	<atom:link href="https://captain-365.com/author/captain365/feed/" rel="self" type="application/rss+xml" />
	<link>https://captain-365.com</link>
	<description>Exploring the Azure blue seas</description>
	<lastBuildDate>Wed, 27 Sep 2023 12:39:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">182898163</site>	<item>
		<title>Linux Commands</title>
		<link>https://captain-365.com/linux-commands/</link>
					<comments>https://captain-365.com/linux-commands/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Wed, 27 Sep 2023 12:39:43 +0000</pubDate>
				<category><![CDATA[Captains Blog]]></category>
		<category><![CDATA[CyberSecurity]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=499</guid>

					<description><![CDATA[Installing software Command Description Remarks sudo apt install &#60;PackageName&#62; Install Software Package sudo apt remove &#60;PackageName&#62; Remove package -autoremove will also remove all files that are not needed anymore. sudo apt show List installed sudo apt update Update within version sudo apt upgrade Upgrade highest version available sudo apt &#8211;only-upgrade No updating, but upgrading sudo ... <a title="Linux Commands" class="read-more" href="https://captain-365.com/linux-commands/" aria-label="Read more about Linux Commands">Read more</a>]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading has-accent-color has-text-color" style="font-style:italic;font-weight:600">Installing software</h2>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<figure class="wp-block-table is-style-stripes"><table><thead><tr><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Command</mark></th><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Description</mark></th><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Remarks</mark></th></tr></thead><tbody><tr><td><em>sudo apt install &lt;PackageName&gt;</em></td><td>Install Software Package</td><td></td></tr><tr><td><em>sudo apt remove &lt;PackageName&gt;</em></td><td>Remove package</td><td>-autoremove will also remove all files that are not needed anymore.</td></tr><tr><td></td><td></td><td></td></tr><tr><td><em>sudo apt show</em></td><td>List installed </td><td></td></tr><tr><td><em>sudo apt update</em></td><td>Update within version</td><td></td></tr><tr><td><em>sudo apt upgrade</em></td><td>Upgrade highest version available</td><td></td></tr><tr><td><em>sudo apt &#8211;only-upgrade</em></td><td>No updating, but upgra<strong>d</strong>ing</td><td></td></tr><tr><td><em>sudo apt &#8211;full-upgrade</em></td><td>??</td><td></td></tr><tr><td>sudo apt list | grep &lt;PackageName></td><td>see if a package is installed</td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure>
</div>
</div>



<h2 class="wp-block-heading has-accent-color has-text-color" style="font-style:italic;font-weight:600">Users accounts </h2>



<figure class="wp-block-table is-style-stripes"><table class="has-fixed-layout"><thead><tr><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Command</mark></th><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Description</mark></th><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Remarks</mark></th></tr></thead><tbody><tr><td><em>sudo add user &lt;UserName></em></td><td>create user</td><td><em>&#8211;ingroup &lt;Groupname></em></td></tr><tr><td><em>sudo passwd &lt;UserName></em></td><td>change password </td><td></td></tr><tr><td><em>sudo chfn &lt;UserName></em></td><td>change user details</td><td></td></tr><tr><td>sudo chsh &lt;UserName></td><td>change user shell (desktop)</td><td></td></tr><tr><td>sudo usermod -a -G sudo &lt;UserName></td><td>add user to users who can use sudo </td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure>



<h2 class="wp-block-heading has-accent-color has-text-color" style="font-style:italic;font-weight:600">Services</h2>
</div>
</div>



<figure class="wp-block-table is-style-stripes"><table class="has-fixed-layout"><thead><tr><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Command</mark></th><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Description</mark></th><th><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-accent-color">Remarks</mark></th></tr></thead><tbody><tr><td>sudo service &lt;ServiceName></td><td>status | start | stop | restart</td><td></td></tr><tr><td>systemctp enable autostart</td><td>Adds it to autostart after reboot it is always started automaticly.</td><td>does not also start the service.</td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/linux-commands/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">499</post-id>	</item>
		<item>
		<title>How to Stop Procrastinating [VIDEO]</title>
		<link>https://captain-365.com/how-to-stop-procrastinating/</link>
					<comments>https://captain-365.com/how-to-stop-procrastinating/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Wed, 13 Sep 2023 12:14:23 +0000</pubDate>
				<category><![CDATA[Captains Blog]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=484</guid>

					<description><![CDATA[I love Mark Manson&#8217;s work. No bullshit. No Self-help sales crap. I have this now on my wall. You can use it if you like.]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="How to Stop Procrastinating [ONE EASY TRICK]" width="900" height="506" src="https://www.youtube.com/embed/kFTKefhHh_A?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div><figcaption class="wp-element-caption">How to Stop Procrastinating by Mark Manson</figcaption></figure>



<p>I love Mark Manson&#8217;s work. No bullshit. No Self-help sales crap. </p>



<p>I have this now on my wall. You can use it if you like. </p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="900" height="506" data-attachment-id="485" data-permalink="https://captain-365.com/how-to-stop-procrastinating/markmanson-do-something-priciple/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?fit=1026%2C577&amp;ssl=1" data-orig-size="1026,577" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;SM-G780F&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1694344381&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;5.4&quot;,&quot;iso&quot;:&quot;160&quot;,&quot;shutter_speed&quot;:&quot;0.01&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="MarkManson-Do-Something-priciple" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?fit=300%2C169&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?fit=900%2C506&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?resize=900%2C506&#038;ssl=1" alt="" class="wp-image-485" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/MarkManson-Do-Something-priciple.jpg?w=1026&amp;ssl=1 1026w" sizes="(max-width: 900px) 100vw, 900px" /></figure>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/how-to-stop-procrastinating/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">484</post-id>	</item>
		<item>
		<title>Create a Shortcut to start Apps with Admin privileges with Powershell</title>
		<link>https://captain-365.com/create-a-shortcut-to-start-apps-with-admin-privileges-with-powershell/</link>
					<comments>https://captain-365.com/create-a-shortcut-to-start-apps-with-admin-privileges-with-powershell/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Sun, 10 Sep 2023 15:21:17 +0000</pubDate>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=449</guid>

					<description><![CDATA[The challenge I want t be able to start some application with Admin privileges without the UAC nagg screen prompting. To accomplish this you need to create a task in the Windows Task Scheduler. One of the options is: to Run with highest privileges. After you have created the task then you create a Shortcut ... <a title="Create a Shortcut to start Apps with Admin privileges with Powershell" class="read-more" href="https://captain-365.com/create-a-shortcut-to-start-apps-with-admin-privileges-with-powershell/" aria-label="Read more about Create a Shortcut to start Apps with Admin privileges with Powershell">Read more</a>]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading"><strong>The challenge</strong></h2>



<p>I want t be able to start some application with Admin privileges without the UAC <em>nagg</em> screen prompting. To accomplish this you need to create a task in the Windows Task Scheduler. One of the options is:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" decoding="async" data-attachment-id="455" data-permalink="https://captain-365.com/create-a-shortcut-to-start-apps-with-admin-privileges-with-powershell/captain-article-uac-task-scheduler-run-highest-privilges/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/Captain-Article-UAC-Task-scheduler-Run-Highest-privilges.png?fit=626%2C479&amp;ssl=1" data-orig-size="626,479" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Captain-Article-UAC-Task-scheduler-Run-Highest-privilges" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/Captain-Article-UAC-Task-scheduler-Run-Highest-privilges.png?fit=300%2C230&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/Captain-Article-UAC-Task-scheduler-Run-Highest-privilges.png?fit=626%2C479&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/Captain-Article-UAC-Task-scheduler-Run-Highest-privilges.png?resize=444%2C340&#038;ssl=1" alt="" class="wp-image-455" style="width:444px;height:340px" width="444" height="340" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/Captain-Article-UAC-Task-scheduler-Run-Highest-privilges.png?w=626&amp;ssl=1 626w, https://i0.wp.com/captain-365.com/wp-content/uploads/2023/09/Captain-Article-UAC-Task-scheduler-Run-Highest-privilges.png?resize=300%2C230&amp;ssl=1 300w" sizes="(max-width: 444px) 100vw, 444px" /></figure></div>


<p><strong><em> to Run with highest privileges. </em></strong> After you have created the task then you create a Shortcut where you start the Task with it&#8217;s name and the parameters <em>/run /TN (taskname)</em>. Since I don&#8217;t like to do this over and over again manually, I have written a function which you can find below. Maybe you can use this as well. </p>



<p><em>If you found it useful or have something to add please let me know in the comments. Thanks!</em></p>



<p></p>



<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">&lt;#
https://learn.microsoft.com/en-us/troubleshoot/windows-client/admin-development/create-desktop-shortcut-with-wsh

https://stackoverflow.com/questions/63287152/value-does-not-fall-within-expected-range-when-applying-property-to-windows-10-s

#&gt;

function Add-CapAdminShortCut {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory, Position=1)]
        [string]$AppName,
        [Parameter(Mandatory,Position=2)]
        [string]$ExePath
    )

    $ShortcutName = $AppName + ' As Admin'
    $AppExePath =  $ExePath
    $principalID =  $Env:UserDomain + '\' + $Env:USERNAME

    $RandomPrefix = Get-Random -Minimum 111  -Maximum 999
    $TaskName = $AppName + ' - AdminExecTask - ' + $RandomPrefix

    if (Test-Path $AppExePath){
        #exepath exists so continue

        &lt;# CREATE TASK #&gt;
        $action = New-ScheduledTaskAction -Execute $AppExePath
        $principal = New-ScheduledTaskPrincipal -UserID $principalID -RunLevel Highest
        $settings = New-ScheduledTaskSettingsSet
        $task = New-ScheduledTask -Action $action -Principal $principal -Settings $settings
        Register-ScheduledTask $TaskName -InputObject $task

        &lt;# CREATE SHORTCUT #&gt;

        $TaskCmd = 'C:\Windows\system32\schtasks.exe'
        $TaskArgs = ' /run /TN ' + '"' +  $TaskName + '"'

        $WshShell = New-Object -comObject WScript.Shell
        $Shortcut = $WshShell.CreateShortcut("$Home\Desktop\$ShortcutName.lnk")
        $Shortcut.TargetPath = $TaskCmd
        $Shortcut.Arguments = $TaskArgs
        #windowstyle is not working
        $Shortcut.WindowStyle = 0 #&amp;&amp;Minimized 0=Maximized 4=Normal
        $Shortcut.IconLocation = $ExePath
        $Shortcut.Save()

        }   else {

        Write-Error "Exe Path is not correct. Please check."
        return
    }

    Write-Host "Task and Shortcut are created succefully."

}</pre></div>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/create-a-shortcut-to-start-apps-with-admin-privileges-with-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">449</post-id>	</item>
		<item>
		<title>Test networking speeds and connectivity with Free tool Iperf</title>
		<link>https://captain-365.com/test-networking-speeds-and-connectivity-with-free-tool-iperf/</link>
					<comments>https://captain-365.com/test-networking-speeds-and-connectivity-with-free-tool-iperf/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Sat, 17 Jun 2023 11:47:15 +0000</pubDate>
				<category><![CDATA[Captains Blog]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[utp]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=368</guid>

					<description><![CDATA[You can easily setup a test to see if your UTP infrastructure is ok. I used to test a specific wall out let that was not giving me the gigbyte speeds I was expecting. I could see the difference in speed clearly when switching between wall outlets. I am not going into detail. You can ... <a title="Test networking speeds and connectivity with Free tool Iperf" class="read-more" href="https://captain-365.com/test-networking-speeds-and-connectivity-with-free-tool-iperf/" aria-label="Read more about Test networking speeds and connectivity with Free tool Iperf">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>You can easily setup a test to see if your UTP infrastructure is ok. I used to test a specific wall out let that was not giving me the gigbyte speeds I was expecting. I could see the difference in speed clearly when switching between wall outlets.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" decoding="async" width="565" height="270" data-attachment-id="370" data-permalink="https://captain-365.com/test-networking-speeds-and-connectivity-with-free-tool-iperf/iperf-speeds-side-by-side/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/06/iperf-speeds-side-by-side.jpg?fit=565%2C270&amp;ssl=1" data-orig-size="565,270" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="iperf-speeds-side-by-side" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/06/iperf-speeds-side-by-side.jpg?fit=300%2C143&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/06/iperf-speeds-side-by-side.jpg?fit=565%2C270&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/06/iperf-speeds-side-by-side.jpg?resize=565%2C270&#038;ssl=1" alt="" class="wp-image-370" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2023/06/iperf-speeds-side-by-side.jpg?w=565&amp;ssl=1 565w, https://i0.wp.com/captain-365.com/wp-content/uploads/2023/06/iperf-speeds-side-by-side.jpg?resize=300%2C143&amp;ssl=1 300w" sizes="(max-width: 565px) 100vw, 565px" /></figure></div>


<p>I am not going into detail. You can read this in the documentation of the tool itself.<br>I just downloaded the tool on a laptop and a pc and set the PC as the server side and the laptop as the client.</p>




<strong>//Client </strong>
<p>
iperf3 -c &lt;ip of server &gt;
</p>

<strong>//Server</strong>
<p>iperf3 -s / iperf3 -s</p>





<h3 class="wp-block-heading">Usefull links</h3>



<p></p>



<p><a href="https://iperf.fr/iperf-download.php" target="_blank" rel="noreferrer noopener">Download Iperf software</a></p>



<p><a href="https://fasterdata.es.net/performance-testing/network-troubleshooting-tools/iperf/">Documentation</a></p>



<p><a href="https://superuser.com/questions/1284196/how-to-determine-a-network-cables-maximum-speed">How to determine a network cable&#8217;s maximum speed? &#8211; Super User</a></p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/test-networking-speeds-and-connectivity-with-free-tool-iperf/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">368</post-id>	</item>
		<item>
		<title>Handy and Free software tools</title>
		<link>https://captain-365.com/handy-and-free-software-tools/</link>
					<comments>https://captain-365.com/handy-and-free-software-tools/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Mon, 31 Oct 2022 17:17:48 +0000</pubDate>
				<category><![CDATA[Captains Blog]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[pc tool]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=359</guid>

					<description><![CDATA[Copyhandler.com File Copy and move tool Privazer.com PC Clean and privacy]]></description>
										<content:encoded><![CDATA[
<p></p>



<ul class="wp-block-list"><li><a rel="noreferrer noopener" href="https://www.copyhandler.com/" target="_blank">Copyhandler.com</a> File Copy and move tool</li><li><a href="https://privazer.com/en/" target="_blank" rel="noreferrer noopener">Privazer.com</a> PC Clean and privacy</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/handy-and-free-software-tools/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">359</post-id>	</item>
		<item>
		<title>PowerPlatForm Bookmarks</title>
		<link>https://captain-365.com/powerplatform-bookmarks/</link>
					<comments>https://captain-365.com/powerplatform-bookmarks/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Fri, 01 Jul 2022 13:41:28 +0000</pubDate>
				<category><![CDATA[PowerAutomate]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[flow]]></category>
		<category><![CDATA[power]]></category>
		<category><![CDATA[sharepoint]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=321</guid>

					<description><![CDATA[https://docs.microsoft.com/en-us/power-automate/ https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference]]></description>
										<content:encoded><![CDATA[<p><a href="https://docs.microsoft.com/en-us/power-automate/">https://docs.microsoft.com/en-us/power-automate/</a></p>
<p><a href="https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference">https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/powerplatform-bookmarks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">321</post-id>	</item>
		<item>
		<title>Making sense of Azure land and sea</title>
		<link>https://captain-365.com/making-sense-of-azure-land-and-sea/</link>
					<comments>https://captain-365.com/making-sense-of-azure-land-and-sea/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Mon, 19 Apr 2021 07:46:01 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Azure Cloud]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=258</guid>

					<description><![CDATA[The Azure world is huge and endless and you can easily can get lost. I know I get lost every time i take a step further. So what is needed is a map that can show you the way. I just found it. The Azure Infrastructure Architect MapThe Azure Security Architect MapThe Azure Solution Architect ... <a title="Making sense of Azure land and sea" class="read-more" href="https://captain-365.com/making-sense-of-azure-land-and-sea/" aria-label="Read more about Making sense of Azure land and sea">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>The Azure world is huge and endless and you can easily can get lost. I know I get lost every time i take a step further. So what is needed is a map that can show you the way. I just found it. </p>



<p><a href="https://techcommunity.microsoft.com/t5/azure-developer-community-blog/the-azure-infrastructure-architect-map/ba-p/766268">The Azure Infrastructure Architect Map</a><br><a href="https://techcommunity.microsoft.com/t5/azure-developer-community-blog/the-azure-security-architect-map/ba-p/714091">The Azure Security Architect Map</a><br><a href="https://techcommunity.microsoft.com/t5/azure-developer-community-blog/the-azure-solution-architect-map/ba-p/689700">The Azure Solution Architect Map</a><br><a href="https://techcommunity.microsoft.com/t5/azure-developer-community-blog/the-cloud-native-azure-application-architect-map/ba-p/812242">The Cloud-native Azure Application Architect Map</a><br><a href="https://techcommunity.microsoft.com/t5/azure-developer-community-blog/the-azure-data-architecture-map/ba-p/2251943">The Azure Data Architecture Map</a></p>



<div class="wp-block-jetpack-send-a-message"></div>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="900" height="758" data-attachment-id="259" data-permalink="https://captain-365.com/making-sense-of-azure-land-and-sea/azure-security-architect-map/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?fit=3740%2C3152&amp;ssl=1" data-orig-size="3740,3152" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="azure-security-architect-map" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?fit=300%2C253&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?fit=900%2C758&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?resize=900%2C758&#038;ssl=1" alt="" class="wp-image-259" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?resize=1024%2C863&amp;ssl=1 1024w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?resize=300%2C253&amp;ssl=1 300w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?resize=768%2C647&amp;ssl=1 768w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?resize=1536%2C1295&amp;ssl=1 1536w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?resize=2048%2C1726&amp;ssl=1 2048w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?w=1800&amp;ssl=1 1800w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/azure-security-architect-map.png?w=2700&amp;ssl=1 2700w" sizes="(max-width: 900px) 100vw, 900px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/making-sense-of-azure-land-and-sea/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">258</post-id>	</item>
		<item>
		<title>Error: subscription is not registered to use namespace &#8216;Microsoft.AzureActiveDirectory&#8217;</title>
		<link>https://captain-365.com/error-subscription-is-not-registered-to-use-namespace-microsoft-azureactivedirectory/</link>
					<comments>https://captain-365.com/error-subscription-is-not-registered-to-use-namespace-microsoft-azureactivedirectory/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Fri, 02 Apr 2021 15:14:40 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Azure Cloud]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=250</guid>

					<description><![CDATA[When creating a Azure Active Directory in my new Visual Studio Azure Subscription I got an error: The subscription is not registered to use namespace &#8216;Microsoft.AzureActiveDirectory&#8217; After some research I found out not all Resource Providers are enabled by default. One of them being: Microsoft.AAD. So you need to Register this in the Resource Provider ... <a title="Error: subscription is not registered to use namespace &#8216;Microsoft.AzureActiveDirectory&#8217;" class="read-more" href="https://captain-365.com/error-subscription-is-not-registered-to-use-namespace-microsoft-azureactivedirectory/" aria-label="Read more about Error: subscription is not registered to use namespace &#8216;Microsoft.AzureActiveDirectory&#8217;">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>When creating a Azure Active Directory in my new Visual Studio Azure Subscription I got an error:</p>
<blockquote>
<p style="text-align: center;"><em>The subscription is not registered to use namespace &#8216;Microsoft.AzureActiveDirectory&#8217;</em></p>
</blockquote>
<p>After some research I found out not all Resource Providers are enabled by default. One of them being: <strong><em>Microsoft.AAD. </em></strong>So you need to Register this in the Resource Provider manager.</p>
<p><span style="text-decoration: underline;"><strong>But get this</strong></span>: You need to be patient! It can say <strong><em>Registered</em></strong> like in the image below but it takes some time. I found this out by using CLI when it was not working after 20 minutes. (Code below) When is tried to Register the AAD namespace again I got a message that it was working on it already and I could use a command to wach its progress. So don’t get fooled with this nice green icon that is telling you it’s done.</p>
<p>And maybe it is a coïncedence or me trying register this with CLI just gave it the kick in the behind it needed. <br>I don’t know and I will never will know.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" width="681" height="464" data-attachment-id="251" data-permalink="https://captain-365.com/error-subscription-is-not-registered-to-use-namespace-microsoft-azureactivedirectory/graphical-user-interface-text-application-email-2/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/graphical-user-interface-text-application-email.jpeg?fit=681%2C464&amp;ssl=1" data-orig-size="681,464" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="graphical-user-interface-text-application-email" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/graphical-user-interface-text-application-email.jpeg?fit=300%2C204&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/graphical-user-interface-text-application-email.jpeg?fit=681%2C464&amp;ssl=1" class="wp-image-251" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/graphical-user-interface-text-application-email.jpeg?resize=681%2C464&#038;ssl=1" alt="Graphical user interface, text, application, email

Description automatically generated" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/graphical-user-interface-text-application-email.jpeg?w=681&amp;ssl=1 681w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/04/graphical-user-interface-text-application-email.jpeg?resize=300%2C204&amp;ssl=1 300w" sizes="(max-width: 681px) 100vw, 681px" /></p>
<p></p>


<div class="wp-block-urvanov-syntax-highlighter-code-block"><pre class="urvanov-syntax-highlighter-plain-tag">CLI Code

az login

az account set --subscription "XXXXXX-138e-46a0-bc79-XXXXXX"
az provider register --namespace Microsoft.AzureActiveDirectory
az provider show -n Microsoft.AzureActiveDirectory</pre></div>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/error-subscription-is-not-registered-to-use-namespace-microsoft-azureactivedirectory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">250</post-id>	</item>
		<item>
		<title>Taking a Phising attack to the next level</title>
		<link>https://captain-365.com/taking-a-phising-attack-to-the-next-level/</link>
					<comments>https://captain-365.com/taking-a-phising-attack-to-the-next-level/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Mon, 29 Mar 2021 12:51:35 +0000</pubDate>
				<category><![CDATA[CyberSecurity]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=216</guid>

					<description><![CDATA[Recently an organization I work for had some hacking incidents. Accounts were breached and from these accounts Phising mails were sent to a selection of the addessbook of this user. It was remediated by disabeling the account, revoke all current sessions and change the password. We did a content search on this Phishing mail and ... <a title="Taking a Phising attack to the next level" class="read-more" href="https://captain-365.com/taking-a-phising-attack-to-the-next-level/" aria-label="Read more about Taking a Phising attack to the next level">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>[um_loggedin] This text can only be seen by logged in users </p>


<p>Recently an organization I work for had some hacking incidents. Accounts were breached and from these accounts Phising mails were sent to a selection of the addessbook of this user. It was remediated by disabeling the account, revoke all current sessions and change the password.</p>
<p>We did a content search on this Phishing mail and for the internal mailboxes and with a <strong><em>New-ComplianceSearchAction</em></strong> we could then delete the phising e-mails when they were not opened yet by the user. If you want a good explanation on how this works This is a 3 minute instruction video for this process.</p>
<p><a href="https://www.youtube.com/watch?v=gbVmeyNG5os">How To Find And Delete An Email From All Mailboxes In Office 365</a></p>
<p>We saw an increase in the amount of phising mails that were sent each time this happened. One of the things we also saw was the use of a directlink to a real OneDrive of another unknown tenant witch contained the payload. When clicked on you would see OneNote page with another link to a Word document. If you would click on this you would be prompted to “login”.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" width="855" height="612" data-attachment-id="217" data-permalink="https://captain-365.com/taking-a-phising-attack-to-the-next-level/graphical-user-interface-application-word-descr/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?fit=855%2C612&amp;ssl=1" data-orig-size="855,612" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="graphical-user-interface-application-word-descr" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?fit=300%2C215&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?fit=855%2C612&amp;ssl=1" class="wp-image-217" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?resize=855%2C612&#038;ssl=1" alt="Graphical user interface, application, Word

Description automatically generated" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?w=855&amp;ssl=1 855w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-word-descr.png?resize=768%2C550&amp;ssl=1 768w" sizes="(max-width: 855px) 100vw, 855px" /></p>
<p>This week we had a special incident. The CEO had been targeted and received an e-mail with a “Voicemail message”. It contained an HTML page with Trojan viruses. After a Message Trace we could tell he was the only one who had received this e-mail.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" width="900" height="154" data-attachment-id="218" data-permalink="https://captain-365.com/taking-a-phising-attack-to-the-next-level/word-image-8/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?fit=1106%2C189&amp;ssl=1" data-orig-size="1106,189" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?fit=300%2C51&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?fit=900%2C154&amp;ssl=1" class="wp-image-218" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?resize=900%2C154&#038;ssl=1" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?w=1106&amp;ssl=1 1106w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?resize=300%2C51&amp;ssl=1 300w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?resize=1024%2C175&amp;ssl=1 1024w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-7.png?resize=768%2C131&amp;ssl=1 768w" sizes="(max-width: 900px) 100vw, 900px" /> By uploading the HTML file I could identify the Virusses through <a href="https://www.virustotal.com/gui">Virustotal</a>. This screenshot is made a week later. When I tested the file when it just happened there were only two Virus engines which detected this. But they did not get detected by Advanced Threat Protection scanning from our own Office 365 tenant with E5 security enabled!</p>
<p>Now we see that also Microsoft detected it.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" width="741" height="209" data-attachment-id="219" data-permalink="https://captain-365.com/taking-a-phising-attack-to-the-next-level/text-description-automatically-generated/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/text-description-automatically-generated.png?fit=741%2C209&amp;ssl=1" data-orig-size="741,209" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="text-description-automatically-generated" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/text-description-automatically-generated.png?fit=300%2C85&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/text-description-automatically-generated.png?fit=741%2C209&amp;ssl=1" class="wp-image-219" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/text-description-automatically-generated.png?resize=741%2C209&#038;ssl=1" alt="Text

Description automatically generated" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/text-description-automatically-generated.png?w=741&amp;ssl=1 741w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/text-description-automatically-generated.png?resize=300%2C85&amp;ssl=1 300w" sizes="(max-width: 741px) 100vw, 741px" /></p>
<p>When I took a look at the code of this e-mail I saw that the code was practically Obfuscated <a href="https://en.wikipedia.org/wiki/Obfuscation_(software)">Wikipedia</a> to try to hide the malicious intent of the code. This code looks then like this:</p>
<p>Some interesting details are that the e-mail address of the sender of this malicious e-mail is: OurOrganizationName.report@msc365officeteam.live</p>
<p>If I took a look at the details of the domain: <strong><em>msc365officeteam.live</em></strong> we see it was created a few days before the message was sent and all the owner details did not tell me much more then: “REDACTED FOR PRIVACY”. The IP address of the sender was an Amazon Cloud IP address so not very helpful either.</p>
<p>We cleaned this up of course and because and nobody clicked on the link in the e-mail nothing scary happened. But they took some effort to get to the CEO and also the sender e-mail and domain name took some investment. This all to send one e-mail.</p>

<p>[/um_loggedin]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/taking-a-phising-attack-to-the-next-level/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">216</post-id>	</item>
		<item>
		<title>Reorganize and make the Outlook Addressbook more secure.</title>
		<link>https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/</link>
					<comments>https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/#respond</comments>
		
		<dc:creator><![CDATA[Captain 365]]></dc:creator>
		<pubDate>Sat, 27 Mar 2021 10:21:09 +0000</pubDate>
				<category><![CDATA[Exchange Online]]></category>
		<guid isPermaLink="false">https://captain-365.com/?p=188</guid>

					<description><![CDATA[(in Office 365 Exchange Online) In this article I show you how you can set up the Outlook addressbook and&#160; make it more interesting and more secure. By segragating users When the Outlook Addressbook is used “as is” it can be pretty messy. Out-of-the-box the addressbook is setup to show every user everything that is ... <a title="Reorganize and make the Outlook Addressbook more secure." class="read-more" href="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/" aria-label="Read more about Reorganize and make the Outlook Addressbook more secure.">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p>(in Office 365 Exchange Online)</p>



<p>In this article I show you how you can set up the Outlook addressbook and&nbsp; make it more interesting and more secure. By segragating users</p>



<p class="has-text-align-center"><img data-recalc-dims="1" loading="lazy" decoding="async" width="627" height="644" data-attachment-id="189" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image.png?fit=627%2C644&amp;ssl=1" data-orig-size="627,644" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image.png?fit=292%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image.png?fit=627%2C644&amp;ssl=1" class="wp-image-189" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image.png?resize=627%2C644&#038;ssl=1" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image.png?w=627&amp;ssl=1 627w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image.png?resize=292%2C300&amp;ssl=1 292w" sizes="(max-width: 627px) 100vw, 627px" /> </p>



<p>When the Outlook Addressbook is used “as is” it can be pretty messy. Out-of-the-box the addressbook is setup to show every user everything that is in there. For smaller organizations this is not a problem. For a bigger organization it can be a problem. It is not very insightfull for a user or helpful to find someone he might not know the name of.</p>



<p>If set-up correctly you can also make use of the hierarchical structure of the addressbook where you can see who is working in the same department or school, who is the manager and who has the same manager. In the image you see this refelected. I will explain more about this later and show you how to accomplish this.</p>



<p>So you do not need to know the exact name of someone to be able to find the person you need. You need to know the department or the school or a co-worker or manager of the person you are looking for.</p>



<p>In a nuttshell you can organize the addressbook by adding and/or changing the Addressbook policy and Addresslists. To separate users into several addresslists you can create order.</p>



<p>You create Addressbook policies witch contains the addresslists of your choice. Then you configure the User to the correct Addressbook policy. In this way you can determine wich Adresslists and users are visible to this user. So a staff member can see much more then a student.</p>



<p>Out-of-the-box Outlook comes with the standard Addresslists like <em>All Rooms, All Users, All Distribution Lists</em> and so on. When you take some time to get things organized into departments for example this looks a lot better.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="257" height="342" data-attachment-id="190" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/table-description-automatically-generated-with-me/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/table-description-automatically-generated-with-me.jpeg?fit=257%2C342&amp;ssl=1" data-orig-size="257,342" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;bluesbrother&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1616825986&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="table-description-automatically-generated-with-me" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/table-description-automatically-generated-with-me.jpeg?fit=225%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/table-description-automatically-generated-with-me.jpeg?fit=257%2C342&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/table-description-automatically-generated-with-me.jpeg?resize=257%2C342&#038;ssl=1" alt="Table

Description automatically generated with medium confidence" class="wp-image-190" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/table-description-automatically-generated-with-me.jpeg?w=257&amp;ssl=1 257w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/table-description-automatically-generated-with-me.jpeg?resize=225%2C300&amp;ssl=1 225w" sizes="(max-width: 257px) 100vw, 257px" /></figure>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="234" height="181" data-attachment-id="191" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/graphical-user-interface-application-description/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-description.jpeg?fit=234%2C181&amp;ssl=1" data-orig-size="234,181" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;bluesbrother&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1616826283&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="graphical-user-interface-application-description" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-description.jpeg?fit=234%2C181&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-description.jpeg?fit=234%2C181&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-application-description.jpeg?resize=234%2C181&#038;ssl=1" alt="Graphical user interface, application

Description automatically generated" class="wp-image-191"/></figure>



<p>This makes it easier for users to find someone. Just by clicking the appropiate addresslist you could find someone of a department you do know the name off, without the need to know the name of the person you are looking for. When everybody had set up a profilephoto live just got easier for everybody.</p>



<p>This is not only a good idea for usabillity purposes, it is also a good strategy from a security standpoint. When a hacker is successful to get into just one account, he can see and get is hands on all of the account information of the entire organization! He will be very happy.</p>



<p>So in my case there were about 16 separate schools within the same organization where the students of the individual schools had nothing to do with each other. So they had no business or need to see the students of another school. So I wanted to change this.</p>



<h3 class="has-text-align-center wp-block-heading"><img data-recalc-dims="1" loading="lazy" decoding="async" width="130" height="121" data-attachment-id="192" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/icon-description-automatically-generated/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/icon-description-automatically-generated.png?fit=130%2C121&amp;ssl=1" data-orig-size="130,121" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="icon-description-automatically-generated" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/icon-description-automatically-generated.png?fit=130%2C121&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/icon-description-automatically-generated.png?fit=130%2C121&amp;ssl=1" class="wp-image-192" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/icon-description-automatically-generated.png?resize=130%2C121&#038;ssl=1" alt="Icon

Description automatically generated"></h3>



<h3 class="has-text-align-left wp-block-heading">User Icons</h3>



<p class="has-drop-cap">Besides making the addressbook more organized I also wanted to make the Addressbook look better by setting an profile icon image for all the users who did not have done this for them selfs. It might even encourage users to set a personal photo when they see the new icons. Even is this is not the case it looks a lot better then the default with the initails.</p>



<p>How far you want to take this is up to you and the organization you work for. If you have the correct attributes setup you can set an icon image even with the correct gender. In the image you see a male and female student as one icon you can set for all the students. And you see a male and female teacher icon you set appropiatly.</p>



<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="586" height="187" data-attachment-id="193" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image-2/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-1.png?fit=586%2C187&amp;ssl=1" data-orig-size="586,187" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-1.png?fit=300%2C96&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-1.png?fit=586%2C187&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-1.png?resize=586%2C187&#038;ssl=1" alt="" class="wp-image-193" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-1.png?w=586&amp;ssl=1 586w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-1.png?resize=300%2C96&amp;ssl=1 300w" sizes="(max-width: 586px) 100vw, 586px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" width="586" height="187" data-attachment-id="194" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image-3/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-2.png?fit=586%2C187&amp;ssl=1" data-orig-size="586,187" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="OUtlook addresbook user icons" data-image-description="&lt;p&gt;OUtlook addresbook user icons&lt;/p&gt;
" data-image-caption="&lt;p&gt;OUtlook addresbook user icons&lt;/p&gt;
" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-2.png?fit=300%2C96&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-2.png?fit=586%2C187&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-2.png?resize=586%2C187&#038;ssl=1" alt="" class="wp-image-194" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-2.png?w=586&amp;ssl=1 586w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-2.png?resize=300%2C96&amp;ssl=1 300w" sizes="(max-width: 586px) 100vw, 586px" /></figure></div>



<p>If you want to take this even a level further you can have different background colors to make a distinction between the separate schools or business units.</p>



<p>So It looks nicer and helps with security. How? When people are sharing sensitive information with others it can make a big difference if you send this to the wrong person. For instance you could have 2 John Davidson’s having an account at a school. If neither of them have uploaded a userphoto you can easily make a mistake. If you can see instantly from the icon if it is a student or a staff member it can make a big difference wich John Davidson you send the Exam questions to! When setting different standard icon’s you can help to reduce these kind of mistakes.</p>



<h3 class="wp-block-heading">The technicallity of it</h3>



<p>So what do we need to do? First off all we need the correct information on all of the accounts. This means that we have the different user fields filled with the right information. Maybe this is something you allready have setup. You could use fields like Title/Jobtitle or Department.</p>



<p>So in my Office 365 test tenant I have the following organization structure:</p>



<p>The organizations is a school community wich as a whole is named “School voor Office 365”. They have staff members who work for all the schools and services within the organization.</p>



<p>There are also three individual schools:</p>



<p>School voor Microsoft Teams</p>



<p>School voor SharePoint</p>



<p>School voor Outlook</p>



<p>These schools have a Teaching staff and Students, class rooms, conference rooms and office spaces. After delibaration we have decided we need to organize it in such a way that the students see only the teaching staff and students of within the same school they are attending. The teaching staff and other staff members need to see all of the staff and all of the students. It would be very helpful if this was organized in Addresslists. We also choose to separate the teaching staff from the students in two addresslists. The teaching staff will end up listed in the Addreslist called <strong><em>Team </em></strong>with the name of the school and the students in a Adresslist with the name of the school.</p>



<p>So for example Addreslist: “<strong><em>Team MSTeams</em></strong>” for teaching staff and for the students Addreslist: “<strong><em>School voor MSTeams</em></strong>”</p>



<p>So we need to start to devide the <em>entities</em> in the addressbook into addresslists. And I write <strong><em>entities</em></strong> because we not only have user accounts but also class rooms and office spaces to organize. We also will setup addresslists for the departments like Marketing and IT Services.</p>



<p>Remember we need an Addressbook policy (<strong>ABP</strong>) to wrap arround the Addresslists and then set this policy to the right users? So if we look at the Use case we can see we need four Addressbook Policies. For each individual school a separate ABP and for the staff members another ABP. So if we take a look with PowerShell we see this when we are done:</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="451" height="182" data-attachment-id="195" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image-4/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-3.png?fit=451%2C182&amp;ssl=1" data-orig-size="451,182" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-3.png?fit=300%2C121&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-3.png?fit=451%2C182&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-3.png?resize=451%2C182&#038;ssl=1" alt="" class="wp-image-195" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-3.png?w=451&amp;ssl=1 451w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-3.png?resize=300%2C121&amp;ssl=1 300w" sizes="(max-width: 451px) 100vw, 451px" /></figure>



<p>And the details of one of the ABP’s show the Addresslists that are configured. <img data-recalc-dims="1" loading="lazy" decoding="async" width="900" height="68" data-attachment-id="196" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image-5/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?fit=1301%2C98&amp;ssl=1" data-orig-size="1301,98" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?fit=300%2C23&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?fit=900%2C68&amp;ssl=1" class="wp-image-196" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?resize=900%2C68&#038;ssl=1" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?w=1301&amp;ssl=1 1301w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?resize=300%2C23&amp;ssl=1 300w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?resize=1024%2C77&amp;ssl=1 1024w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-4.png?resize=768%2C58&amp;ssl=1 768w" sizes="(max-width: 900px) 100vw, 900px" /></p>



<p>In a envirenmont where nothing is configured for the Addressbook and everything is left default we get no results when we run the cmdlet: Get-AddressBookPolicy</p>



<p><img data-recalc-dims="1" loading="lazy" decoding="async" width="823" height="259" data-attachment-id="197" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image-6/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?fit=823%2C259&amp;ssl=1" data-orig-size="823,259" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?fit=300%2C94&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?fit=823%2C259&amp;ssl=1" class="wp-image-197" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?resize=823%2C259&#038;ssl=1" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?w=823&amp;ssl=1 823w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?resize=300%2C94&amp;ssl=1 300w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-5.png?resize=768%2C242&amp;ssl=1 768w" sizes="(max-width: 823px) 100vw, 823px" /> On the other hand when we ask for the AddressLists in a default tenant we see this:</p>



<p>We see here something we are going to need to get what we want. This is the <strong><em>Recipient filter</em></strong>. We want Addresslists wich contain the different entities organized per school or business unit. In order to make this work we need the correct information in the details of the mailaccounts. Think of information of the department or school name a users mailbox belongs to.</p>



<p>There are several ways on how this can be accomplished. You can create this by using the Local On-Prem Active Directory and fill certain fields (called <strong><em>attributes</em></strong>) with the right information. For example a user account has the “Department” field or attribute we can use. Later we can filter on this to get the addresslist filled.</p>



<p>This can be done by hand or this is an automated proces by configuring Human Resource software and Active Directory to work together. When this is a organization that does not have many changes each week this could be a manual proces. Maybe you could start with a bulk import and then administer this by hand every time a person is leaving or joining the organization. In a school with 14.000 students and many changes everyday this is not how you would do things.</p>



<p>I want to keep this article also readable for non-it personal so I will keep the technical details for another article. It sufices to say that in larger organizations the administration of user details is something that is hopefully automated in some way. So lets assume we have the right information in the right place.</p>



<p><img data-recalc-dims="1" loading="lazy" decoding="async" width="415" height="559" data-attachment-id="198" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/graphical-user-interface-text-application-email/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-text-application-email.jpeg?fit=415%2C559&amp;ssl=1" data-orig-size="415,559" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;bluesbrother&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1616841548&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="graphical-user-interface-text-application-email" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-text-application-email.jpeg?fit=223%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-text-application-email.jpeg?fit=415%2C559&amp;ssl=1" class="wp-image-198" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-text-application-email.jpeg?resize=415%2C559&#038;ssl=1" alt="Graphical user interface, text, application, email

Description automatically generated" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-text-application-email.jpeg?w=415&amp;ssl=1 415w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/graphical-user-interface-text-application-email.jpeg?resize=223%2C300&amp;ssl=1 223w" sizes="(max-width: 415px) 100vw, 415px" /> In a Office 365 envirenmont the local Active Directory is synchronized to the Cloud counterpart of this directory. So this scenario will work also for Exchange Online.</p>



<p><em>In my tenant I use another field to fill with the correct information. The reason behind this is that sometimes the Department field (and some others) can be edited by the owner of the user account. And if this would happen it could mess up our intention to organize because our recipient filter would not work anymore if it would depend on this field.</em></p>



<p><em>The implementation of this field is something I will write about another time but for now if you see examples of the recipient filters in this article and you see something like </em><strong><em>CustomAttribute</em></strong><em> think </em><strong><em>Department </em></strong><em>or</em><strong><em> Job Title.</em></strong></p>



<p>Lets take an example and see this in action: <br><em>(by the way: </em><strong><em>Deelnemer </em></strong><em> means “student”)</em></p>



<p>This is the Addresslist for the <strong><em>School for MSTeams </em></strong>wich will contain the students of this school.</p>



<p><em>RecipientFilter : ((((CustomAttribute1 -like &#8216;Deelnemer&#8217;) -and (CustomAttribute3 -like &#8216;*-MSTEAMS&#8217;))) -and (RecipientType -eq &#8216;UserMailbox&#8217;))</em></p>



<p><br>If we take a look at the screenshot of the <em>organization</em> tab of a user we see that the Job Title field contains “<strong><em>KLAS04-MSTEAMS</em></strong>”. (<em>The same information is in the CustomAttributefield3</em>) Our filter from the example selects all the students (<em>Deelnemer in CustomAttributefield1</em>) and with anything (wich is the * ) and “<em>-MSTEAMS</em>”. This is the reason why this user is on this particular addresslist.</p>



<p>The same is the case for another addresslist witch lists the staff for the same school. They have similar information in the fields and a Recipient field that looks a lot like the previous example. (<strong><em>Docent</em></strong> means “teacher”). See below.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="410" height="554" data-attachment-id="199" data-permalink="https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/word-image-7/#main" data-orig-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-6.png?fit=410%2C554&amp;ssl=1" data-orig-size="410,554" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="word-image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-6.png?fit=222%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-6.png?fit=410%2C554&amp;ssl=1" src="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-6.png?resize=410%2C554&#038;ssl=1" alt="" class="wp-image-199" srcset="https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-6.png?w=410&amp;ssl=1 410w, https://i0.wp.com/captain-365.com/wp-content/uploads/2021/03/word-image-6.png?resize=222%2C300&amp;ssl=1 222w" sizes="(max-width: 410px) 100vw, 410px" /></figure>



<p><em>Team MS Teams ((((CustomAttribute1 -eq &#8216;Medewerker&#8217;) -and (CustomAttribute3 -like &#8216;*MS Teams&#8217;))) -and (RecipientType -eq &#8216;UserMailbox&#8217;))</em></p>



<p>By the way: All personal information you see is from my testing tenant wich is only filled with User data wich is generated by a Fake user data generator. You can find these online. I used <a href="https://www.fakenamegenerator.com/">this</a> one.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://captain-365.com/reorganize-and-make-the-outlook-addressbook-more-secure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">188</post-id>	</item>
	</channel>
</rss>
