Hi Shreya,
Since your M365 Agent with Azure Logic App integration was working until Friday and now fails without showing runs in Azure Portal, this suggests an authentication, connectivity, or service-level issue rather than a code problem.
Most Likely Causes (Weekend Issues)
- Authentication Token Expiration
Common weekend issue:
- Service principal tokens often expire on weekends
- OAuth tokens may have expired
- API keys or connection strings might have been rotated
- Azure Logic App Service Issues
Check Azure Status:
- Azure Service Health for Logic Apps in your region
- Potential service outages over the weekend
- Maintenance windows affecting Logic App execution
- Network/Firewall Changes
IT changes over weekend:
- Firewall rules modified
- Network policies updated
- Conditional Access policies changed
Immediate Troubleshooting Steps
Step 1: Verify Logic App Status
- Azure Portal → Logic Apps → Your Logic App
- Overview → Check Status (should be "Enabled")
- Run History → Verify no runs appearing since Friday
- Monitoring → Check for any error logs
Step 2: Test Logic App Directly
Bypass the agent:
- Copy Logic App HTTP endpoint
- Test with Postman/curl directly
- Use same parameters the agent sends
- Check if Logic App responds
Step 3: Check Agent Plugin Configuration
In M365 Agents Toolkit:
- AI-plugin manifest → Verify endpoint URLs unchanged
- Authentication settings → Check if tokens/keys expired
- Test plugin independently from agent
Step 4: Review Azure Logic App Logs
Azure Portal → Logic App → Monitoring → Diagnostics Look for: - Authentication failures - Network connectivity issues - Timeout errors - Service unavailable errors
Common Solutions
Fix 1: Refresh Authentication
If using service principal:
- Azure AD → App registrations → Your app
- Certificates & secrets → Renew client secrets
- Update agent configuration with new credentials
Fix 2: Logic App Restart
Simple restart often fixes weekend issues:
- Azure Portal → Logic App → Overview
- Disable the Logic App
- Wait 2-3 minutes
- Enable the Logic App
- Test immediately
Fix 3: Check Resource Limits
Azure subscription limits:
- Logic App pricing tier → Check if limits reached
- Consumption plan → Verify execution quota
- Resource group → Check resource limits
Fix 4: Update Agent Plugin
Re-register the plugin:
- M365 Agents Toolkit → Re-import AI-plugin
- Test connection to Logic App
- Verify adaptive card still renders correctly
Debugging Strategy Test This Sequence: 1. Direct Logic App test (Postman) ✓/✗ 2. Agent plugin test (without full agent) ✓/✗ 3. Full agent execution ✓/✗ 4. Check where the chain breaks
Log Analysis:
Check these logs in order:
- Azure Logic App diagnostics
- M365 Agents Toolkit logs
- Teams/M365 Copilot logs (if applicable)
- Network/firewall logs
Expected Findings
If Logic App Direct Test Fails:
- Authentication issue (expired tokens/keys)
- Logic App service problem
- Azure resource limits reached
If Logic App Works but Agent Fails:
- Plugin configuration issue
- Agent authentication to Logic App
- M365 Agents Toolkit service connectivity
If Everything Tests Fine:
- Caching issues in M365 services
- Regional service problems
- Intermittent connectivity issues
Quick Resolution Steps
Try these in order:
- Restart Logic App (2 minutes)
- Test direct Logic App endpoint (5 minutes)
- Refresh agent plugin registration (10 minutes)
- Check Azure service health (2 minutes)
The fact that it worked Friday and failed over the weekend strongly suggests an authentication expiration or service maintenance issue. Start with the Logic App restart and direct endpoint test first.
Thanks,
Karan Shewale.
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.