-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Expected Behavior
I have two variables:
const sharePointSite = "https://mysharepoint.com/sites/MySite"
const sharePointListName = "MyList"
I would in zx execute this command (using m65 cli) that return the existing list in the site filtered by Title:
$m365 spo list list --webUrl ${sharePointSite} --properties Id,Title --filter "Title eq $sharePointListName" --output text
I've tried on bash and it works fine:
m365 spo list list --webUrl https://mysharepoint.com/sites/MySite --properties Id,Title --filter "Title eq 'MyList'" --output text
Actual Behavior
I receive this error: The expression "Title eq $'MyList'" is not valid.
Steps to Reproduce the Problem
- install m365
- use the command above
Specifications
- Version: 7.2.3
- Platform: Mac
Metadata
Metadata
Assignees
Labels
No labels