Manage to create datasets when following the Sample push data into Dashboard for power BI, but now facing a Server Access issue. As at run time i get the following exception : The Remote server returned an error: (404) Not found. Has anyone faced the same Problem or could help get it solve?
private static void AddRows(string datasetId, string tableName)
{
string powerBIApiAddRowsUrl = String.Format("https://api.powerbi.com/v1.0/myorg/datasets/{0}/tables/{1}/rows", datasetId, tableName);
//the above Url is the one provided for contacting the Server
using (Stream writer = request.GetRequestStream())
{
writer.Write(byteArray, 0, byteArray.Length);
var response = (HttpWebResponse)request.GetResponse();
Console.WriteLine("Rows Added");
Console.ReadLine();
}
}
}