Office 365 traffic shaping and priority on RouterOS

Hi Members,

I currently support a number of small businesses that are levereging office 365 for the productivity and communications.

I would like some advice and guidance as to the best way to prioritize and shape the traffic to the office 365 services. Mainly looking at the mail and one drive and sharepoint side of things.

Any advice would be great.

Sent from my SM-G950F using Tapatalk

Add this servers to address-list:
https://docs.microsoft.com/ru-ru/office365/enterprise/urls-and-ip-address-ranges
then mark traffic from and to this address-list with some marks. Also you need mark all other traffic with another marks.
Then make a queue tree:
https://wiki.mikrotik.com/wiki/Manual:Queue#Queue_Tree

It’s not so easy for beginners.

Might be useful to provide English source links on English speaking forum…

https://docs.microsoft.com/en-gb/office365/enterprise/urls-and-ip-address-ranges

use this python script to parse office 365 endpoints to mikrotik address list.

https://github.com/fillorkill/o365addrlist

import the address list, set up a mangle rule to mark the packets and a QoS rule to process them.

This article about office 365 administrator roles and responsibilities is exactly what you need. Helped me a lot during my first year as an admin and really helped me to enhance my company’s cybersecurity.