[Question/Feedback]: AVD Pattern Storage Account Calculation in Automation Account is wrong.
Closed this issue · 2 comments
christianGoe commented
Check for previous/existing GitHub issues
- I have checked for previous/existing GitHub issues
Description
It Seems that the AvdStorageLogData Runbook calculates the $RemainingPercent = 100 - ($shareUsageInGB / $shareQuota) wrong.
it should be $RemainingPercent = 100 - ($shareUsageInGB / $shareQuota * 100)
JoeyBarnes commented
Hi @christianGoe - I have assigned this to @JCoreMS to comment on this since he is the pattern owner.
JCoreMS commented
DOH! Great catch and find and not sure how I missed that and the fact this is 3weeks old. I will work on this in an update for fixes here shortly. Thanks @christianGoe for the feedback.