
Explanation:

In Azure AD Entitlement Management , the tenant-level lifecycle settings govern what happens to external users when their last access package assignment ends. The SC-300 materials explain that when "Block external users from signing in to this directory = Yes," a guest whose final assignment expires or is removed is immediately blocked from sign-in to the resource directory. With "Remove external user = Yes" and a configured period (here 30 days ), the guest account is deleted from the directory after that interval provided the user has no other active access package assignments . These lifecycle actions are tied to access package assignments , not to unrelated memberships or role grants that were not delivered via entitlement management.
Applying the timelines: Guest1 and Guest2 received Package1 on Mar 1 with an assignment expiration of Apr 1 . On Apr 1 , their last assignment ended, so they were blocked the same day, and then removed after
30 days -on or about May 1 . Therefore, on May 5 , neither Guest1 nor Guest2 remains in the directory .
The fact that Guest1 was granted a Reports reader role on Mar 2 does not prevent lifecycle removal because it is not an access package assignment . Guest3 , however, was invited on Apr 1 and added to the All Company group on Apr 4 outside of entitlement management; since there was no access package assignment to expire , the lifecycle removal policy does not apply , so Guest3 is still present on May 5 .