Issue:
MS Team Error on Smartphone: "Notifications aren't working correctly because the background activity is restricted. Change settings"
Fix:
1. Navigate to Settings and select Apps.
2. Then tap Teams and go to Manage battery usage.
3. Toggle on Allow Background Activity.