Provision Assist is a request and provisioning solution for Teams, Groups, SPO Sites and Viva Engage Communities in Microsoft 365. It can be used as part of a Copilot for Microsoft 365 deployment.
When entering an ampersand (&) in the Collaboration Space Information Title and clicking Verify it fails with the attached error. Looking at the Check Space Availability Flow, the step Check Area Type the Get Group Graph API call is failing with error code "Bad Request" and error message ""Invalid filter clause: There is an unterminated string literal at position 65 in 'mailNickname eq 'OGRP-IncidentsData' or displayName eq 'Incidents'."
Description
When entering an ampersand (&) in the Collaboration Space Information Title and clicking Verify it fails with the attached error. Looking at the Check Space Availability Flow, the step Check Area Type the Get Group Graph API call is failing with error code "Bad Request" and error message ""Invalid filter clause: There is an unterminated string literal at position 65 in 'mailNickname eq 'OGRP-IncidentsData' or displayName eq 'Incidents'."
The URI the Graph API call calls is https://graph.microsoft.com/v1.0/groups?$filter=mailNickname eq 'OGRP-IncidentsData' or displayName eq 'Incidents & Data', but looking at the error it is chopping the request at the ampersand.
Steps to reproduce
Expected results
Check Space Availability Flow runs successfully
Actual Results
Check Space Availability Flow fails and error displayed in app.
Solution component
Power Automate Flows
Operating system (environment)
Windows
Additional Info
No response