The key distinction is proofreading vs. generating.
Turnitin is built to ignore standard corrections like grammar, spelling, and punctuation fixes. Using Grammarly for this purpose is perfectly safe and is not flagged.
However, Turnitin is designed to find AI-generated content. If you use GrammarlyGO to write or rephrase sentences, your work will likely be flagged as AI-written.
DO use Grammarly to polish and proofread your original writing.
DON'T use GrammarlyGO to create or rewrite content for you.
The bottom line: Use Grammarly as an editor to improve your work, not as an author to create it.
View details here: Does Turnitin Detect Grammarly?