Forum Discussion
Microsoft 365 IP Steering python script
Hello! Hola!
I have created a small and rudimentary script that generates a datagroup with MS 365 IPv4 and v6 addresses to be used by an iRule or policy.
There are other scripts that solve this same issue but either they were:
- based on iRulesLX, which forces you to enable iRuleLX only for this, and made me run into issues when upgrading (memory table got filled with nonsense)
- based on the XML version of the list, which MS changed to a JSON file.
This script is a super simple bash script that calls another super simple python file, and a couple of helper files.
The biggest To Do are:
- Add a more secure approach to password usage. Right now, it is stored in a parameters file locked away with permissions. There should be a better way.
- Add support for URLs.
You can find the contents here: https://github.com/teoiovine-novared/fetch-office365/tree/main
I appreciate advice, (constructive) criticism and questions all the same!
Thank you for your time.
Closing this thread - for more conversation on this subject see Microsoft 365 IP Steering python Script | DevCentral
teoiovine - I'm going to move this to our CrowdSRC section. You can still get advice, criticism, etc over there but it's the more correct venue for Sharing solutions. You can edit the content over there as it changes/updates/etc.
Here you are limited to adding a new reply.
- PeteWhiteEmployee
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com