550-5.7.26 error while cancelling the invite to gmail account through MS graph(through MIME object )

asked 2022-12-31T06:22:42.177+00:00
Hari S 26 Reputation points

While sending the schedule meeting email from our java application, we are creating an ics file through MIME object and its works perfect

While cancelling the meeting the mail is bounced back with 550-5.7.26

Error Description from Google

550, "5.7.26", " Unauthenticated email from domain-name is not accepted due to domain's DMARC policy. Please contact the administrator of domain-name domain. If this was a legitimate mail please visit Control unauthenticated mail from your domain to learn about the DMARC initiative. If the messages are valid and aren't spam, contact the administrator of the receiving mail server to determine why your outgoing messages don't pass authentication checks.  

Why its only failing for cancel invite and working for sent invite? What is the difference in consuming ics between request and cancel methods?

Below is the only difference in ics file between schedule and cancel email

For schedule invite

METHOD:REQUEST  
STATUS:CONFIRMED  

For cancel invite

METHOD:CANCEL  
STATUS:CANCELLED  

All other attributes(ORGANIZER, ATTENDEE ) are same

ORGANIZER;CN=<name>@<domain>.net:mailto:<name>@<domain>.net  
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=<name>@gmail.com:mailto:<name>@gmail.com  

And interesting things are:

  1. We are facing this issue only when we send through MS graph(through MIME object ) not with normal SMTP config
  2. And the same ics is working fine for the outlook recipient. its not working only for gmail recipient

Can any one please help with the below queries?

  1. Why its only failing for cancel invite and working for sent invite?
  2. What is the difference in consuming ics between request and cancel methods?
  3. Why its working with normal SMTP config and not with MS graph?
  4. Why its not working only for gmail recipient?
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
556 questions
Microsoft Graph Calendar API
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2023-01-02T01:23:46.82+00:00
    Shivam Dhiman-MSFT 4,246 Reputation points Microsoft Employee

    Hi @Hari S

    Generally, these issues occur while using trail tenant to perform this send email activity using Graph API.

    This error occurs when sending email from known, low reputation IP addresses that are typically used by new customers on Trail tenants.
    To fix this issue your Tenant needs to be added to a sending exclusion for 60 days to allow them to use blocked IPs whilst they still have a new/trial license.

    Please raise a case with MS Support team from your tenant where you are facing issue, respective team will provide exclusion for your tenant.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote. If you have further questions about this answer, please click "Comment".