microsoft / mcw-innovate-and-modernize-apps-with-data-and-ai Goto Github PK
View Code? Open in Web Editor NEWInnovate and modernize apps with Data and AI
License: MIT License
Innovate and modernize apps with Data and AI
License: MIT License
Exercise-3 task-3 step- 12&13: As per the instructions after replacing the content in the file WriteEventsToTelemetryContainer.cs with the content given in the lab guide, build operation is failing with below error,
C:\Temp\Azure Functions\WriteEventsToTelemetryContainer.cs(58,53): error CS0246: The type or namespace name 'EventData' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\Azure Functions\Azure Functions.csproj]
Please find the attached screenshot below for reference :
In "Task 3: Create an Azure Function based on a Cosmos DB trigger" I get an exception when processing (likely all, but I'm not sure) scored results from Azure ML.
Row 104 comment in ProcessTelemetryEvents.cs says:
// Azure ML returns an array of integer results, one per input item.
But in previous "Task 5: Test the predictive maintenance model" the response from Azure ML is a array of floats: [1.0, 0.0, 4.0]
After changing the "int maintenanceRecommendation" declarations to "float maintenanceRecommendation" in ProcessTelemetryEvents.cs the exceptions did occur anymore. I don't know if I get into trouble later on with this change.
Message Exception while executing function: ProcessTelemetryEvents Input string '0.0' is not a valid integer. Path '[0]', line 1, position 4. ย Exception type Newtonsoft.Json.JsonReaderException
In Exercise 5 Task 3 step 5 when running the dotnet build
command getting the below error:
The type or namespace name 'Machine' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\Azure Functions\Azure Functions.csproj]
ProcessTelemetryEvents.cs(37,16): error CS0246: The type or namespace name 'Ambient' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\Azure Functions\Azure Functions.csproj]
ProcessTelemetryEvents.cs(81,23): error CS0246: The type or namespace name 'TelemetryOutput' could not be found (are you missing a using directive or an assembly reference?) [C:\Temp\Azure Functions\Azure Functions.csproj]
Please find the screenshot reference below:
In Exercise -5> Task -3> step -9, I didn't get the expected output in Azure Data Studio.
In Exercise -6> Task -1> Step -12, Input created in Azure Stream Analytics job didn't work as expected. While running the query received an error saying that no data was loaded.
Some of the screenshots and instructions are getting a little out-of-date, these are some recommendations from a recent (last 2 weeks) test run-through:
'Before the hands-on lab'
Task 2, Step 4 - 'Access tier' should be removed from table, it is default now and not on Basics tab any longer.
Task 3, Step 4 - 'Select Size and scale from the menu.' There is no longer a 'Size and scale' tab, has moved to 'Management' tab.
(azure-create-iot-hub-2_new)
Task 6, Step 3 - The option 'Notebooks' in the table is no longer present.
Task 7, Step 3 - 'Runtime stack' is now just '.net' and not '.net core'
Task 10, Step 3 - There are other options given that aren't specified - Storage account, key vault, app insights, and container registry. Workspace edition is not an option
'Hand On Lab'
Exercise 3, Task 2, Step 2 - 'New Container' and not 'Add Collection'
(azure-cosmos-db-add-collection_new)
Exercise 3, Task 4, Step 8 - Instructions might do with a little more clarification of exactly which connection strings could be used where.
Exercise 5, Task 1, Step 4 - Had to enable system-assigned managed identity on the stream analytics job to complete this step
Exercise 8, Task 1, Step 3 - 'Select Launch Synapse Studio from the Synapse workspace page.' could be updated to 'Open Synapse Studio'
(azure-synapse-launch-studio_new)
Can anyone who has taken this course recently confirm that it should still be expected to work, despite any Azure changes that may have occurred since original release?
Specifically, I have run into an issue (that may well be a mistake on my part) In Exer 2, Task 3, Step 6, where I am unable to get a proper 'run cell' result to then populate 'stamp_press_model' in the 'Models' section as expected in Step 7.
I have tried deleting any traces of this file specifically, and re-running the Exercise, but rec'v identical error.
I have tried deleting all the items created in Exercise 2 and re-running the identical steps using the names for the items as given in the instructions, but rec'v the same error.
Lastly, I have tried re-running Exercise 2 from the start, this time using new and different names (e.g. 'maintenancedata2', 'modernizeappstorage2', 'Stamp Press Maintenance Model2', etc., but still receive the same error.
It appears as if there is a construct somewhere that I do not know to delete, that is preventing progress.
Note that all of the above steps were attempted in the same instance, rather then restarting from scratch from the very beginning, principally because it takes roughly 1.5 hours simply to provision all the resources needed in Azure before even attempting the course. (Because of the ongoing cost to run these resources, it is also not necessarily economical to leave them running for days for troubleshooting....so if one thinks a mistake has been made and cannot identify how to recover -- must start from scratch....spending the same 1.5 hours provisioning time, again...plus the time it takes to get back to where you were.)
As an alternative question: is it possible for the course authors to perhaps create ARM templates, or other means, that will automate the provisioning of any/all resources required in Azure such that one might be able to re-start the course without having to continually spend time manually provisioning?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.