Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
I think that one of the solutions is:
Sub Add_to_Array(ByRef Arr() As String, ByVal s As String)
If Arr Is Nothing Then
Arr = {}
End If
Array.Resize(Arr, Arr.Length + 1)
Arr(Arr.Length - 1) = s
End Sub
Or you can create the initial empty array:
Dim Arr() As String = { }
Then Add_to_Array does not need adjustments.