Fix #1674 (docs): upgrade tutorial error on externalScopes
Merge pull request #1683 from PaulL1/1674_upgrade_tutorial

Fix #1674 (docs): upgrade tutorial error on externalScopes