Two uses sit side by side here. Usually negated, -ㄴ다고 되다 says the action isn't enough to produce the result: 억지로 어떻게 한다고 되지 않잖아요 'forcing it doesn't make it happen', 감춘다고 될 일이 아니라니까요 'hiding it won't sort this out'. Separately, -ㄴ다고 되어 있다 reports what a notice or a forecast states: 저기 할인된다고 되어 있었어 'it said over there that it was discounted', 일기예보에는 비가 온다고 되어 있지 않았는데 'the forecast didn't say it would rain'.