Being Apple, I doubt that Microsoft had much to do with this dilemma 🙂
You can’t bypass the Passcode. You can reset the iPad and set-up again “as new”, but you will need to know the AppleiD and associated password for the iCloud Account that was used to activate the iPad, as, without these credentials, the “Activation Lock” (enabled by default) will prevent reactivation.
This process will obviously wipe the device of existing data.
When setting-up again “as new”, you’ll have the option to restore data from your iCloud/iTunes backup if you have one (you might have a very recent automatic iCloud backup - unless you disabled it).
https://support.apple.com/en-gb/guide/icloud/mm7e756df7fd/icloud
I hope you find this helpful.