I STRONGLY encourage you and others to stop trying to do both user agent and appID based blocking at the same time in the first instance. User Agent blocking requires regex like syntax to do properly - Let's keep this simple. Stop blocking user agents to start with, set the EwsApplicationAccessPolicy back to Null. Get the AppID list right, as that's what matters for Oct, and then, once you have that working, invest some time in user agent blocking if you want to - but doing both these at the same time makes it much harder to get right, and troubleshoot. Not to mention that user agent based blocking is easily defeated - which is why we built AppID based blocking....
If you want to use user agent blocking and allow Teams calendar to work, I believe you need to use
Teams CalendarSkypeSpaces/1.0a$*+ but that's something the Teams team should be asked to confirm.