How To Grant View Definition of Object in SQL Azure
Your syntax is incorrect.  It should be

GRANT VIEW DEFINITION ON &lt;object/schema&gt; TO &lt;user/role&gt;


Example

GRANT VIEW DEFINITION ON SCHEMA::dbo TO [bar]

GRANT VIEW DEFINITION ON OBJECT::dbo.MyView TO [barRole]