Hi there, this is Marc. Thanks for reaching out to the community.
OneDrive’s screen capture protection may be causing your screenshots to come out black. Check the OneDrive icon in your system tray, open Settings, and under Sync and backup or General, look for options related to screen capture or Files On-Demand and turn them off. Restart your PC and test again. If you’re on a work or school account, enterprise policies could be enforcing this. Also try Windows built-in tools like Win + Shift + S (Snipping Tool) or Win + PrtScn.
Does this happen with all apps or only specific ones, and are you signed in with a personal or work account?
Best regards,