Having a really finicky issue that I'm hoping someone can help me with:
I've enabled 'SQL Server Stored Procedures' from the upcoming features in the Settings, and while the process of adding SQL Server stored procedures to my app and running them in Design Mode (including using them to populate variables/collections ) has worked flawlessly, running them off of the Custom Page of the Model Driven App gives a notification prompt with the error below.
databasename.dbostoredporcedurename failed: { "error": { "code": 403, "message": "Procedure dbo.dbostoredporcedurename is not allowed", "source": "msmanaged-na.azure-apim.net", "path": "choose[3]\\when[1]\\choose\\when[2]", "policyId": "", "clientRequestId": "SomeGUIDhere" } }
I've tested by removing and re-adding the procedure, removing and re-adding the procedure again but with using a different connection, tested by creating a separate stored procedure with no table connection and just a simple select statement as output, etc. I ran the Model-Driven App in a monitor session and copied my results below: it's a 403 error but I have no idea as to why.
I've ran the same procedure using the same connection from a standalone test app (not Model-Driven App custom Page), and it performed as expected. It's also worth noting that this SQL data source and connection are being used across multiple apps without issue until now.
Any help with this issue would be appreciated.