It's difficult to tell without seeing your setup. This can often happen if there's a URL misconfiguration.
This is not really related to Azure AD though, so I would recommend opening a support case or asking this under Functions (assuming that's where you set the triggers).