timmcmic / DLConversionV2

MIT License
43 stars 9 forks source link

Infinite loop if DL name is the same as its primary email address #121

Closed jspern closed 1 year ago

jspern commented 1 year ago

If migrating a DL that is named the same as its primary email address, the module will eventually enter an infinite loop where it states "Group found in O365 - wait 30 seconds - try again"

timmcmic commented 1 year ago

Do you by chance have a log file that I could look at. You can send it to dlconversionv2 at service dot microsoft dot com

All of my test DLs have the same name as the primary SMTP address prefix and do not have the same issue so I'd like to see what attributes you have for comparison.

Tim

============================== Timothy J. McMichael Senior Support Escalation Engineer @.**@.> (980)-776-7465

Hours: Sunday - Wednesday 08:00 - 16:00 eastern time zone.

Manager: Tom Roughley @.**@.>)

Premier Support - (800)-936-3100 Broad Commercial Support - (800)-936-4900

==============================

From: jspern @.> Sent: Tuesday, February 14, 2023 9:37 AM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] Infinite loop if DL name is the same as its primary email address (Issue #121)

If migrating a DL that is named the same as its primary email address, the module will eventually enter an infinite loop where it states "Group found in O365 - wait 30 seconds - try again"

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F121&data=05%7C01%7Ctimmcmic%40microsoft.com%7C4d433489adbb41dd0aa808db0e98ddb4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638119821945153133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7xNwffiWxzadN9fTEup1tcMPBiGgvzdcG7rqxaF0xhs%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6L2I7KXMN2IJKRAJHTWXOJ67ANCNFSM6AAAAAAU3UQ3II&data=05%7C01%7Ctimmcmic%40microsoft.com%7C4d433489adbb41dd0aa808db0e98ddb4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638119821945153133%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PfmbHo8T7OSoAIvNf09DrtQC49%2BA9%2Fr8yAD0qKvooIw%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

jspern commented 1 year ago

I will see if I can sanitize one of the log files and send it over. Just to clarify, the lists I was having the issue with had the full primary email address as their names -- e.g., both the name and primary SMTP address of an affected list would be list@domain.com

timmcmic commented 1 year ago

Thanks - that's certainly odd to say the least. Usually when it loops around in the get group prior to deletion its due to the group not being moved to an OU that does not sync or AD Connect not submitting the deletion to azure. There's also always the potential for forward sync delays.

In my lab the raw ldap attributes are:

Name: atestgroup183 Mail: @.**@.> ProxyAddresses: @.**@.> Pre-Windows2000Name: atestgroup-adfdfasdfadsf

Tim

============================== Timothy J. McMichael Senior Support Escalation Engineer @.**@.> (980)-776-7465

Hours: Sunday - Wednesday 08:00 - 16:00 eastern time zone.

Manager: Tom Roughley @.**@.>)

Premier Support - (800)-936-3100 Broad Commercial Support - (800)-936-4900

==============================

From: jspern @.> Sent: Tuesday, February 14, 2023 10:34 AM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] Infinite loop if DL name is the same as its primary email address (Issue #121)

I will see if I can sanitize one of the log files and send it over. Just to clarify, the lists I was having the issue with had the full primary email address as their names -- e.g., both the name and primary SMTP address of an affected list would be @.**@.>

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F121%23issuecomment-1429941573&data=05%7C01%7Ctimmcmic%40microsoft.com%7C6df3f82b2a8d48e5b1c608db0ea0dc0b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638119856280806103%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VaubDnQw07yPIuO2f2MghwVBHIU6JNiUJdyvSFhDU48%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6LODLL6DNLFVNLYEE3WXOQVTANCNFSM6AAAAAAU3UQ3II&data=05%7C01%7Ctimmcmic%40microsoft.com%7C6df3f82b2a8d48e5b1c608db0ea0dc0b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638119856280806103%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DlhWuyhPGt26M%2Bit1%2BN1xcVZB4rmIn4bfrOI3uagB7w%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

timmcmic commented 1 year ago

If you want to reach out to me on teams I'd be more than happy to review the logs with you in teams...

Tim

============================== Timothy J. McMichael Senior Support Escalation Engineer @.**@.> (980)-776-7465

Hours: Sunday - Wednesday 08:00 - 16:00 eastern time zone.

Manager: Tom Roughley @.**@.>)

Premier Support - (800)-936-3100 Broad Commercial Support - (800)-936-4900

==============================

From: jspern @.> Sent: Tuesday, February 14, 2023 10:34 AM To: timmcmic/DLConversionV2 @.> Cc: Tim McMichael @.>; Comment @.> Subject: Re: [timmcmic/DLConversionV2] Infinite loop if DL name is the same as its primary email address (Issue #121)

I will see if I can sanitize one of the log files and send it over. Just to clarify, the lists I was having the issue with had the full primary email address as their names -- e.g., both the name and primary SMTP address of an affected list would be @.**@.>

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F121%23issuecomment-1429941573&data=05%7C01%7Ctimmcmic%40microsoft.com%7C6df3f82b2a8d48e5b1c608db0ea0dc0b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638119856280806103%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VaubDnQw07yPIuO2f2MghwVBHIU6JNiUJdyvSFhDU48%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6LODLL6DNLFVNLYEE3WXOQVTANCNFSM6AAAAAAU3UQ3II&data=05%7C01%7Ctimmcmic%40microsoft.com%7C6df3f82b2a8d48e5b1c608db0ea0dc0b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638119856280806103%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DlhWuyhPGt26M%2Bit1%2BN1xcVZB4rmIn4bfrOI3uagB7w%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>