-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't workingstandardizationNo logic changes, but refactoring and alignment to module's patternsNo logic changes, but refactoring and alignment to module's patterns
Description
Problem description
Time to fix & adopt this function and make it great again :)
It's also a good opportunity to fix the function, as it doesn't work (log below).
Verbose logs
VERBOSE: Method: POST
VERBOSE: URI: /v1/rest/query
VERBOSE: Body of request: {
"db": "EH-SQLDay2025",
"csl": "let x = range x from 1 to 10 step 1; x | summarize count() by x\r\n"
}
VERBOSE: ContentType: application/json
Invoke-RestMethod: Invalid URI: The hostname could not be parsed.
VERBOSE: Result of the Query API: null
InvalidOperation: Cannot index into a null array.
Module Version
develop (0.30)
Suggested solution
- Use
Invoke-FabricRestMethod
and call it only once - One of these parameters should be mandatory:
KQLDatabaseName
orKQLDatabaseId
- Fix misspelled names like
$isManamgentCommand
- Remove Revision History
- Fix the bug
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstandardizationNo logic changes, but refactoring and alignment to module's patternsNo logic changes, but refactoring and alignment to module's patterns
Type
Projects
Status
📌 Ready