Debug

Azure Teams Integration Debug

๐Ÿ” Login Required

You need to login with Azure to test the Teams integration.

โœ… Logged In

Welcome! You are logged in. Let’s test the Teams integration.

login with Azure to view channels.

๐Ÿ“„ Teams Documents

This should show documents from your Teams channels:

Please login with Azure to view documents.

๐Ÿ’ก Troubleshooting Tips

If you don’t see posts/messages:

  • Check the debug information above to see if Teams data is being retrieved
  • Verify your Azure app has ChannelMessage.Read.All permission
  • Make sure admin consent has been granted in Azure
  • Try clicking “Load Messages” on a channel card above

If you don’t see files:

  • Check if files exist in the Teams channel’s Files tab
  • Verify Files.Read.All and Sites.Read.All permissions
  • Some channels may not have file storage enabled

Check WordPress Error Logs:

Enable debug logging in wp-config.php:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);

Then check /wp-content/debug.log for API errors.

๐Ÿงช Manual Tests

Test Specific Channel Messages

If you know specific Team and Channel IDs, you can test them directly:

Format:

Please login with Azure to view messages.

Replace YOUR_TEAM_ID and YOUR_CHANNEL_ID with actual IDs from the debug information above.