diff --git a/internal/services/authorization/role_definition_resource.go b/internal/services/authorization/role_definition_resource.go
index <HASH>..<HASH> 100644
--- a/internal/services/authorization/role_definition_resource.go
+++ b/internal/services/authorization/role_definition_resource.go
@@ -388,8 +388,8 @@ func roleDefinitionEventualConsistencyUpdate(ctx context.Context, client azuresd
 			return resp, "Pending", nil
 		}
 
-		if !respUpdatedOn.After(updateRequestTime) {
-			// The real updated on will be after the time we requested it due to the swap out.
+		if updateRequestTime.After(respUpdatedOn) {
+			// The real updated on will be equal or after the time we requested it due to the swap out.
 			return resp, "Pending", nil
 		}
Fix: The real updated time will be equal or after the requested time for azurerm_role_definition (#<I>)

#<I>