microsoft-apps
Microsoft Applications
⚠️ WARNING: AI SLOP CODE ⚠️
These are simple proof-of-concept projects for testing microsoft-identity-broker with Microsoft Graph API. They are not intended for production use and may contain incomplete or insecure code.
Terminal apps
- meil: Mail
- tiims: Teams
- tudu: To-Do/Planner
Graph API stuff that works/doesn't work
Shared
| Feature | |
|---|---|
| Auth via SSO agent token | ✅ |
| Token refresh on 401 | ✅ |
| Unread notifications | ⚠️ Might need to be best effort, there are no "unread messages" or "mark as read" or anything like that as far as I can see. The beta endpoint viewpoint/lastMessageReadDateTime might be usable for Teams. TODO |
| Feature | Status | API call |
|---|---|---|
| Read folders & messages | ✅ | GET /me/mailFolders, GET /me/mailFolders/{id}/messages 1 |
| Mark as read\unread | ✅ | PATCH /me/messages/{id} {isRead: true} 2 |
Teams
| Feature | Status | API call |
|---|---|---|
| List chats | ✅ | GET /me/chats?$expand=lastMessagePreview |
| Read messages | ✅ | GET /me/chats/{id}/messages |
| Send messages | ✅ | POST /me/chats/{id}/messages |
| Poll for new messages | ✅ | GET /me/chats/{id}/messages?$filter=lastModifiedDateTime gt {ts} |
| List members | ✅ | GET /me/chats/{id}/members |
| Presence (set/keep-alive) | ❌ | Requires admin-granted Presence.ReadWrite |
To-Do / Planner
| Feature | Status | API call |
|---|---|---|
| List task lists | ✅ | GET /me/todo/lists |
| Create task list | ✅ | POST /me/todo/lists |
| List tasks | ✅ | GET /me/todo/lists/{id}/tasks |
| Create task | ✅ | POST /me/todo/lists/{id}/tasks |
| Update/complete task | ✅ | PATCH /me/todo/lists/{id}/tasks/{id} |
| Delete task | ✅ | DELETE /me/todo/lists/{id}/tasks/{id} |
| Checklist items (read + toggle) | ✅ | GET/PATCH /me/todo/lists/{id}/tasks/{id}/checklistItems |
| Planner: read assigned tasks | ✅ | GET /me/planner/tasks |