Do I take out my micro card before, and put back in before doing a factory reset on Nintendo switch console
When performing a factory reset on your Nintendo Switch, you generally don't need to remove the microSD card. However, it is a good practice to back up any important data or save files that may be on the microSD card, as a factory reset will erase all user data from the console.
If you're concerned about any potential data loss or corruption, you can safely remove the microSD card before the reset and later insert it back into the console after the reset is complete. Just keep in mind that game saves may not be recoverable unless they are stored in the cloud (if you have a Nintendo Switch Online subscription).
In summary, while it’s not strictly necessary to remove the microSD card, doing so can add an extra layer of precaution regarding data safety.