
How can I install Microsoft 365 Apps via Intune from local source.
Did you know you can initiate Microsoft 365 Apps via Intune when the source files are in your file server? Nor did I.
Usecase : Customer needs to be able to push Microsoft 365 Apps via intune but network bandwidth is a huge stopper when multiple (thousands) Windows Devices try to reach Office CDN and download the required setup files.
So you allow all Intune Management Urls in order to manage endpoints via Intune but do not want to allow Office CDN Urls access to control bandwidth within the organization .
Well there is a way to do that.
There is only 1 Requirement . Your file server or any server which will download the required setup files needs to have proper Internet access only once. When the server downloads the setup files. Internet Access can be prohibited afterwards.
So go ahead and download Office Deployment tool : https://learn.microsoft.com/en-us/deployoffice/overview-office-deployment-tool
Next go to Office Customization Tool : https://config.office.com/deploymentsettings
Choose which apps you need to be installed on the Windows Clients (managed by Intune) and of course the rest of the settings like languages ,activation etc.
Do not forget to add the local source the office files will reside on for example:

Export the configuration xml let's say it's called configuration.xml.
Now login to the server which will host the setup files .
Move configuration.xml and Office Deployment tool to the server. Create a shared folder with proper permissions so your windows devices can reach and read the setup files.
Run setup.exe with the configuration.xml and the download switch for example :
setup.exe /download configuration.xml
Wait for the download process to complete . While waiting copy the content of configuration.xml to notepad .
Go ahead and create a new app within intune of type Microsoft 365 Apps :

At the configure app suite step choose Enter XML Data

Paste the configuration.xml data you have from notepad inside the XML Data and validate the XML . When XML is validated go ahead and assign the app .
Done!